[英]How can I get a SQL Server 2005 compatible backup from SQL Server 2008 database?
I have a sql server 2008 db, I want to restore its backup to a 2005 version. 我有一个sql server 2008数据库,我想将其备份恢复到2005版本。 Is there any way for this work? 这项工作有什么办法吗?
Note: I can't make a script from my db and run it. 注意:我无法从数据库制作脚本并运行它。
Unfortunately, SQL Server has never supported this - and still doesn't :-( 不幸的是,SQL Server从不支持此功能-仍然不支持:-(
There is no way you can create a backup in a newer version and restore it in a previous version - and this goes from SQL Server 4.2 all the way through 2008 R2. 没有办法,你可以创建一个新版本的备份,它在以前版本的恢复-以及从SQL Server 4.2,一路过关斩将2008 R2这个去。
All you can do is either create scripts and run them on the target server, or use tools like SQL Compare and SQL Data Compare to compare the two databases and update the target database from the source (basically, what these tools do is create and execute the necessary scripts in the background, so you won't have to fiddle and create those scripts yourself) 您所要做的就是创建脚本并在目标服务器上运行它们,或者使用SQL Compare和SQL Data Compare之类的工具比较两个数据库并从源代码更新目标数据库(基本上,这些工具的作用是创建并执行在后台使用必要的脚本,因此您无需自己摆弄和创建这些脚本)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.