restore SQL 2008 DB R2 to SQL2008 (no r2)

后端 未结 3 975
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-21 06:58

on my developper pc is installed SQL 2008 R2
on the internal server is installed SQL 2008 R2 (some applications are hosted here)
on the external 3.rd party hosti

3条回答
  •  眼角桃花
    2020-12-21 07:44

    There is no simple property that you can switch to be able to restore to older versions. You might try this, in Management Studio:

    • Select your source Database
    • Select Tasks>Generate Scripts.
    • Select 'Script entire database and all database objects', press 'Next'
    • Select 'Save to File' and click on the 'Advanced' button
    • Select 'Script for Server Version' and select the version you want: 2000/2005/2008
    • Select 'Type of data to Script' and select Schema/Data/both
    • Click 'OK',Next and do it!
    • Copy the resulting file to the target machine.
    • Log onto your SQL Management Studio and open the copied .sql file...

    It's likely to work if you have a small database. For a larger one you will run into limitations.

提交回复
热议问题