简体   繁体   English

SQL Server 2008 R2中的困难还原数据库

[英]Difficulty Restoring Database in SQL Server 2008 R2

Unfortunately, I am experiencing a problem restoring a database on my laptop. 不幸的是,我在笔记本电脑上恢复数据库时遇到问题。

This is the error message that is being displayed in SQL Server 2008 R2 Management Studio: 这是SQL Server 2008 R2管理Studio中显示的错误消息:

在此处输入图片说明

How can I solve this problem please? 请问该如何解决?

Update 更新资料

It seems that I have to update my SQL Server 2008 R2 to Service Pack 2. Am I correct? 看来我必须将SQL Server 2008 R2更新到Service Pack2。我正确吗? I tried using the link from Microsoft however it requires around 5 hours to download because of the slow download speed (my internet reaches up to 1.2 MB/s download speed so the problem is not on my part). 我尝试使用来自Microsoft的链接,但是由于下载速度较慢(它的下载速度高达1.2 MB / s,因此问题不属于我),大约需要5个小时才能下载。

Is there an alternative place from where I can download SQL Server 2008 R2 Service Pack 2? 是否可以从其他地方下载SQL Server 2008 R2 Service Pack 2?

Seems like you are running SQL Server 2008 and your database backup is from SQL Server 2008 **R2** . 似乎您正在运行SQL Server 2008并且数据库备份来自SQL Server 2008 **R2** That is what I infer from above screen shot. 这就是我从屏幕截图中得出的结论。 It is not about service packs but about SQL Server releases which is not backward incompatible. 它与服务包无关,而与SQL Server版本有关,这不是向后不兼容的。 Refer this blog to get to know versions of SQL Server. 请参阅此博客以了解SQL Server的版本。 You will have to upgrade your server. 您将必须升级服务器。

To know what is your SQL Server version, you can use Select @@version . 要知道您的SQL Server版本是什么,可以使用Select @@version

[Update] - Alternatively, you can generate SQL Server Scripts and data which is compatible with SQL Server 2008. If your database is not huge, this can work and it will be quick. [更新]-或者,您可以生成与SQL Server 2008兼容的SQL Server脚本和数据。如果您的数据库不是很大,则可以正常工作并且很快。

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

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