简体   繁体   English

将数据库从SQL Server 2008移动到SQL Server 2005

[英]Moving database from SQL Server 2008 to SQL Server 2005

I want to move my my database of a SQL Server 2008 to a SQL Server 2005 Express on another machine. 我想将我的SQL Server 2008数据库移动到另一台机器上的SQL Server 2005 Express。 Is this possible? 这可能吗? How should I do this? 我该怎么做?

There is no "built-in" way to move a database from a newer SQL Server version to an older version. 没有“内置”方法将数据库从较新的SQL Server版本移动到较旧的版本。

The only way that I know if is to use SQL Server 2008's "Generate Script" wizard to script your whole database (tables and data) and execute these scripts on the SQL Server 2005 to insert the data there. 我知道的唯一方法是使用SQL Server 2008的“生成脚本”向导来编写整个数据库(表数据)的脚本,并在SQL Server 2005上执行这些脚本以在那里插入数据。

(Moving a database from a older SQL Server version to an newer version would be easier - just take a backup and restore, SQL Server automatically converts it to the new version) (将数据库从较旧的SQL Server版本移动到较新版本会更容易 - 只需进行备份和还原,SQL Server会自动将其转换为新版本)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM