Microsoft SQL Server Error: 948

Source: Internet
Author: User
Microsoft SQL Server Error: Version 948 refers to sql2008, version 655 refers to sql2005, and another version 611 refers to SQL2000) the landlord's situation is a typical scenario of downgrading from a higher version to a lower version. according to Microsoft's official statement, attaching a later version to a later version is not supported. what should I do if I have to do this? There is a way. first, find a computer with SQL Server 2008 installed and attach your database files to this computer. after the attachment is successful, right-click the attached database in the object Resource Manager window of SSMs, and select "task> Generate script... ", the script wizard dialog box is displayed. click "Next ". in the "select database" dialog box, select the database you just attached, and tick "write scripts for all objects in the selected Database" at the bottom. click Next. in the "select script option" dialog box, you also need to modify the following options:

1 ). "Write a data script", set it to "true"; (sql2005 does not have this option, so it is easy to find a computer with sql2008 installed, saves the trouble of importing and exporting data)

2). "Write trigger script", set to "true ";

3). "Write the database creation script", set it to "true ";

4 ). "write a script for the server version", select "SQL Server 2005"; (if you want to use SQL2000, select SQL Server 2000) we strongly recommend that you set the above four options. You can do the other options on your own. You do not need to change the other options. click Next. in the "output options" dialog box, select "Save script to file". For other options, click Next. click Finish. click Close.

Then copy the generated script file to your computer, open it in SQL Server 2005, and execute the script .!!! Note: Before executing the script, make sure to modify the script if necessary.

The physical path of the specified MDF file and LDF file to meet your requirements.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.