简体   繁体   English

SQL Server 2005数据库是否与2008兼容?

[英]Is SQL Server 2005 database compatible with 2008?

I don't know if the title is correct but well what I'd like to ask: is it possible to import my database from SQL Server 2005 to 2008 or is the database in SQL Server 2005 compatible with 2008? 我不知道标题是否正确,但我想问的是:是否可以将数据库从SQL Server 2005导入到2008,或者SQL Server 2005中的数据库是否与2008兼容? I'm still a newbie. 我还是新手。

Thanks 谢谢

  • You can restore an SQL Server 2005 database on SQL Server 2008. 可以在SQL Server 2008上还原SQL Server 2005数据库。
  • You can not restore an SQL Server 2008 database on SQL Server 2005. 不能在SQL Server 2005上还原SQL Server 2008数据库。

Generally speaking, at the time of writing, 一般来说,在撰写本文时,

  • you can restore any database starting from SQL Server 2005 on a newer version of SQL Server (up to 2016), and 您可以从SQL Server 2005开始在版本的SQL Server(直到2016年)上还原任何数据库,并且
  • you can not restore any database on an earlier version. 您不能在早期版本上还原任何数据库。

You might want to increase the compatibility level of your DB after restoring it on a newer SQL Server version. 在较新的SQL Server版本上还原数据库后,可能需要提高其兼容性级别。

Yes. 是。 They are compatible. 它们是兼​​容的。 You can use a backup to transfer all the data. 您可以使用备份来传输所有数据。

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

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