How to restore a higher version of SQL Server to a lower version of SQL Server (reprinted)

Source: Internet
Author: User

This example restores sql2012 to sql2008.

The function to be implemented is to back up the sql2012 database to sql2008, the database name is test, and the two databases are on different computers.

Microsoft's software design is basically a new version compatible with the old version, the old version is incompatible with the new version

The steps are as follows:

1, first put the sql2012 in the database to be backed up to be compatible with 2008.

Right-sql2012 The database test-properties-options See as:

2. Right-test-task-Generate script, next-next arrival, point "advanced" option. Change "Script for SQL version" to the one you want to downgrade as "sql2008". Make sure you're done. A "script.sql" script file is generated.

3. The next step is to copy the sqlserver2012 source file to another computer. Because SQL Server is running, it cannot be replicated. So the first thing to do is "stop" SQL Server services.

4. Find the location of the SQL2012 database in the computer. Right-click "Database"-"file" will have the path, copy out these two files. This sqlserver2012 computer operation is complete.

5. Copy the above "Script.SQL" file and two data source files to the computer where sql2008 is located. In sql2008, "new"-"Query Manager". Drag the "Script.SQL" into it and you'll see the code.

Note the green section. The location of the database file that appears is the location of the sql2012 computer. You need to change these two addresses to the address of the two source files copied from the sql2008. By pressing the "F5" key, you can complete the demotion of the database from SQL2012 to SQL2008.

Ext.: http://zhidao.baidu.com/link?url=LB1Wwfv_bRDublbJ1hydia53XWfNFyaaaMnm_YX6XOgs1WlyhD0biBpnqhP7DMdHCooOMr5LIK5 _plu89mj4c5awnr3cf5bco0gghsoxiqo

How to restore a higher version of SQL Server to a lower version of SQL Server (reprinted)

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.