Convert Sql Server 2005 to Sql Server 2000http://forums.asp.net/t/1004394.aspx/1?Convert+Sql+Server+2005+to+Sql+Server+2000Sat, 23 May 2009 08:30:33 -040010043941329458http://forums.asp.net/p/1004394/1329458.aspx/1?Convert+Sql+Server+2005+to+Sql+Server+2000Convert Sql Server 2005 to Sql Server 2000 <p>I have to downgrade a eCommerce database from Sql Server 2005 to Sql Server 2000 due to hosting server's support compatibility. Almost all features in the original (2005) version are available in 2000.</p> <p>Any recommendations as on an easy conversion? Thanks a lot.</p> <p>-Yubo</p> 2006-06-30T14:47:14-04:001329943http://forums.asp.net/p/1004394/1329943.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 It's not possible to easily/directly convert a SQL Server 2005 database to SQL Server 2000.&nbsp; I learned this the very hard way.&nbsp; My suggestion would be to find a new host.<br> <br> <br> 2006-07-01T03:35:54-04:001344767http://forums.asp.net/p/1004394/1344767.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 I have the same issue, in that I developed an ASP.Net 2.0 application using SQL Server Express.&nbsp; Now I discover that my hoster, GoDaddy, offers only SQL Server 2K (plus Access and MySql).&nbsp; Although the DB is fairly basic, I don't want to manually recreate it.&nbsp; When I tried running a script of the DB (script created in SQL Server Express) in SQL Server 2K Query Analyzer, it failed with many errors.&nbsp; What a pain. 2006-07-18T19:07:30-04:001344828http://forums.asp.net/p/1004394/1344828.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>It is actually much easier than you think. Just use Sql Server Express to generate database script, with specification of compatibility set to &quot;Sql Server 2000&quot;. Run the script in Sql Server 2000, you're all set.</p> <p>Yubo</p> 2006-07-18T19:49:29-04:001344903http://forums.asp.net/p/1004394/1344903.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>I just tried it and it seems to work ... at least the tables and triggers appear in Enterprise Mgr.&nbsp; I need to take two steps before I'm home free:</p> <p>(1) Do some basic Q/A attaching my app to SQL Server 2K (may have some &quot;Personalization&quot; DB issues).</p> <p>(2) Upload it to my hoster (GoDaddy) and make sure it runs properly.</p> <p>Thank you so much for pointing out this feature in SQL Server Express.&nbsp; I have spent many hours today trying to manually edit a script file, generated in SQL Server Express, in a futile attempt to get it to run in SQL Server 2K Query Analyzer.&nbsp;&nbsp; Thanks again;&nbsp; I really appreciate your help!</p> 2006-07-18T20:39:48-04:001350897http://forums.asp.net/p/1004394/1350897.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 I had the same issue...tried what was suggested (changed the &quot;Script for Server Version&quot; to SQl Server 2000), but it didn't solve the problem....<br> <br> Any other ideas?&nbsp; Are there any online sql conversion or validation tools that migt be useful?<br> <br> Thanks<br> 2006-07-25T16:33:45-04:001350943http://forums.asp.net/p/1004394/1350943.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>What issue are you having when running DB script in SS2K? Please list some details.</p> <p>I don't know of any online sql conversion/validation tool.</p> <p>-Yubo</p> 2006-07-25T17:16:06-04:002032357http://forums.asp.net/p/1004394/2032357.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>May be this will help ! &nbsp;</p> <p>&nbsp;<span id="_ctl0_MainContent_PostFlatView"><span></p> <p class="MsoNormal" align="center" style="margin:0in 0in 0pt; text-align:center"> <b style=""><u><span style="font-size:16pt"><font face="Times New Roman">How to Downgrade a Database from SQL Server 2005 to SQL Server 2000</font></span></u></b></p> <p class="MsoNormal" style="margin:0in 0in 0pt"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">As you may all know, SQL Server 2005 request a minimum of 8GB RAM to work let say satisfactorily. I first didnt knew that and after a while from the upgrade I did from SQL Server 2000 to 2005 my SQL Services were starting to crash three or four times per DAY!!! </font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">At first I thought I was being attacked, but soon I realized it was nothing like that. I then decided to downgrade to an SQL Server 2000 edition. Though I looked around the internet to find some information on how to do that, I got very disappointed when I realized that no actual documentation of any kind could be found for that. So I am posting this thread to inform you on the procedures I had to follow for this action. </font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">Before beginning I must assume, firstly that the user, who will attempt such thing, has <span style="">&nbsp;</span>a basic knowledge of SQL Environment, secondly that he has the two versions already installed (both 2000 and 2005), that a basic backup of the databases has been created and finally that all the 2005 SQL Server Users have been created at the SQL Server 2000 environment as well.</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><font face="Times New Roman"><b style=""><i style=""><u><span style="font-size:14pt">Step 1</span></u></i></b><i style=""><u><span style="font-size:14pt"> Generating Scripts for the Database Elements and Structures</span></u></i></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">1)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Right-click over the desired Database at 2005, Choose Tasks and the Generate Scripts (Option).</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">2)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">At the pop-up Dialog Box click at the <i style=""> Script All Objects in the selected Databases</i> check box, to activate it and then Click the Next Button.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">3)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Set the following Elements to the following Values</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">a.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script Collation , set to TRUE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">b.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script Database Create, set to TRUE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">c.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script of SQL Version, set to SQL SERVER 2000</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">d.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script foreign keys, set to FALSE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">e.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script Triggers, set to FALSE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.25in; text-align:justify"><span style=""><font face="Times New Roman"><span style="">&nbsp;</span>Then Hit the Next button</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">4)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Select the way the generated scripts should be saved (There are different selections. The most common one is Clipboard). Finally click the Next button till you reach the end.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">5)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Click Finish</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">After completing this procedure, we have to move to the SQL SERVER 2000 environment. Here, by using the Query Analyzer, we will have to run the scripts that were generated using the master database. Copy and Paste the script at the Query Analyzer and run it. After that the Structure of the Database will be created.</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">Be careful, the SQL Server 2005 Edition inserts the Views in a random place through the script. Therefore, all the scripts that are referred to the Views MUST be moved to the end of the script. If the Query Analyzer shows some errors do not be bothered. Delete all the elements created from the script and after you fix the code run it again.</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><font face="Times New Roman"><b style=""><i style=""><u><span style="font-size:14pt">Step2 </span></u></i></b><i style=""><u><span style="font-size:14pt">Moving the data from 2005 to 2000</span></u></i></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">1)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">After completing the previous step successfully, moving the data follows. Right-click at the 2005 database you used to run the previous step and select Tasks and then choose the Export Data (option).</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">2)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">From the pop-up Dialog Box, select the Source Db and Click at the Next Button.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">3)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">At the next step you will have to choose the destination server and the destination Database for the Data to be exported. Then Click Next.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">4)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">A List of all the Source Databases Elements will appear in the screen. Select one by one all the Elements you wish to move and for each one click at the button Edit Mappings (Located at the bottom right corner of the Dialog Box just under the Elements list). A new Dialog box will pop-up. Select the Delete rows in Destination Tables option and activate the Enable Identity Insert Option. (Remember to repeat this action for each of the selected Element from the list that will be moved.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><font face="Times New Roman"><b style=""><u><span style="">CAUTION!!!</span></u></b><span style=""> A malfunction of the SQL Server 2005 has been found. Not sure why, after multiple tries I have observed that when I tried to move more than twelve Elements at once, the Export Data Wizard of SQL Server 2005 seemed to disable the Enable Identity Insert Option that was activated over the Edit Mappings Dialog Box. But if the number of the selected Elements is smaller than 12 no problem seemed to appear.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><font face="Times New Roman"><b style=""><i style=""><u><span style="font-size:14pt">Step 3</span></u></i></b><i style=""><u><span style="font-size:14pt"> Generating Scripts for the Database Foreign Keys and Triggers</span></u></i></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">Finally, to successfully finish the downgrade of the Database, the Triggers and the Foreign Keys of the DB must be produced. The procedure that should be followed is the one stated next:</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">1)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Right-Click at the SQL 2005 Database and Select from Tasks Menu the Generate Scripts Option.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">2)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Using the pop-up Dialog Box make sure that the check box <i style="">Script All Objects in the selected Databases</i> is not enabled and hit the Next Button.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">3)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Set all the Elements on the List to a False Value except the ones that follow:</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">a.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Include IF NOT EXISTS , set to TRUE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">b.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script Owner, set to TRUE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">c.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script of SQL Version, set to SQL SERVER 2000</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">d.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script foreign keys, set to TRUE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 1in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">e.<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Script Triggers, set to TRUE</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.25in; text-align:justify"><span style=""><font face="Times New Roman"><span style="">&nbsp;</span>Then Hit the Next button </font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">4)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">After finishing reading the Elements of the Database, a new list will appear at the Dialog Box. Make sure that you select ONLY THE TABLES of the Database and hit the Next Button.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">5)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">At the screen that follows hit the Select All button and the Next.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">6)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Select the way the generated scripts should be saved (There are different selections. The most common one is Clipboard). Finally click the Next button till you reach the end.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt 0.5in; text-indent:-0.25in; text-align:justify"> <font face="Times New Roman"><span style=""><span style="">7)<span style="font-family:'Times New Roman'; font-style:normal; font-variant:normal; font-weight:normal; font-size:7pt; line-height:normal">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></span></span><span style="">Click Finish Button.</span></font></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">After completing this procedure, we have to move to the SQL SERVER 2000 environment. Here, by using the Query Analyzer, we will have to run the scripts that were generated using the master database. Copy and Paste the script at the Query Analyzer and run it. After that the Foreign Keys and the Triggers of the Database will be created.</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">&nbsp;</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify"><span style=""><font face="Times New Roman">After these steps the database should be fully functional under the SQL Server 2000 edition.</font></span></p> <p class="MsoNormal" style="margin:0in 0in 0pt; text-align:justify">&nbsp;<br> &nbsp;</p> </span></span> <p></p> 2007-11-29T11:28:06-05:002037050http://forums.asp.net/p/1004394/2037050.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>Hi,</p> <p>This is what I want. Thank for the suggestion. I will try it.&nbsp;</p> 2007-12-03T01:21:38-05:002065914http://forums.asp.net/p/1004394/2065914.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>Hi,</p> <p>Here's how to upload a local <strong>Sql Server Express .mdf database</strong>, complete with the <strong>table data</strong>,&nbsp;using <strong>Visual Web Developer 2008 Express</strong>,&nbsp;to a <strong>Sql 2000 remote account</strong>!</p> <p>1. Right-click the .mdf file in Databse Explorer in VWD. Choose Publish to Provider...</p> <p>2.&nbsp; Click Next; Select your db and click Next, and Next again to simply put the resulting .sql file whereever Windows wants it.</p> <p>3. Select the Sql Server 2000 option from the middle dropdown menu. This is the one which does the trick!</p> <p>4. Follow the instructions to finish the guide.</p> <p>5. Open&nbsp;Sql Management Studio Express (which you must have downloaded). Connect to the remote host's db account and find your &quot;db&quot;. Right-click and choose New Query...</p> <p>6. Find your .sql file in Windows Explorer. Right-click and choose Open with Sql Management Studio Express.</p> <p>7. Copy the contents of your file into the empty &quot;New Query... file&quot;. Click Execute or hit F5. Refresh the db pane of Sql Management Studio Express to view your changes.</p> <p>That's it!</p> <p>Pettrer, Sweden</p> <p>&nbsp;</p> 2007-12-18T12:38:16-05:002232267http://forums.asp.net/p/1004394/2232267.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>&nbsp;I find Microsoft SQL Server Database Publishing Wizard 1.1 is a much easier/better solution <br> </p> <p>&nbsp;<span>SQL Server Database Publishing Wizard enables the deployment of SQL Server databases into a hosted environment on either a SQL Server 2000 or 2005 server. It generates a single SQL script file which can be used to recreate a database (both schema and data) in a shared hosting environment where the only connectivity to a server is through a web-based control panel with a script execution window. If supported by the hosting service provider, the Database Publishing Wizard can also directly upload databases to servers located at the shared hosting provider.<br> <br> Optionally, SQL Server Database Publishing Wizard can integrate directly into Visual Studio 2005 and/or Visual Web Developer 2005 allowing easy publishing of databases from within the development environment.</span></p> <p>http://www.microsoft.com/downloads/details.aspx?FamilyID=56e5b1c5-bf17-42e0-a410-371a838e570a&amp;DisplayLang=en&nbsp;</p> 2008-03-14T04:43:29-04:002905268http://forums.asp.net/p/1004394/2905268.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>&nbsp;hello....</p> <p>thanx for your solution...&nbsp;</p> <p>i got everything..</p> <p>but not the <b>views</b> </p> <p>can you please explain how to do it.. ?</p> <p>Thanx <br> </p> <p>&nbsp;</p> 2009-01-31T04:09:02-05:003182436http://forums.asp.net/p/1004394/3182436.aspx/1?Re+Convert+Sql+Server+2005+to+Sql+Server+2000Re: Convert Sql Server 2005 to Sql Server 2000 <p>&nbsp;Hello,</p> <p>&nbsp;</p> <p>What About Store Procedure.</p> <p>&nbsp;</p> <p>i think it's Not Possible Because 2005 Contains Some Function Like RowNumber&nbsp; Which Not Included in 2k Version.</p> <p>&nbsp;</p> <p>What's Possible Solution for this ?</p> <p>&nbsp;</p> <p>&nbsp;</p> <p><a href="http://dotnet-magic.blogspot.com/">http://dotnet-magic.blogspot.com/</a> <br> </p> 2009-05-23T08:30:33-04:00