无法在 SQL Server 2012 中附加示例数据库 [英] Can't attach the sample database in SQL Server 2012

查看:42
本文介绍了无法在 SQL Server 2012 中附加示例数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载了 SQL Server 2012 Express 的示例数据库,但每次尝试附加它时都会收到以下错误消息:

I have downloaded the sample database for SQL Server 2012 Express but I am having the following error message whenever I try to attach it:

无法打开数据库AdventureWorks2012",因为它是版本 706.此服务器支持版本 655 及更早版本.不支持降级路径.

The database 'AdventureWorks2012' cannot be opened because it is version 706. This server supports version 655 and earlier. A downgrade path is not supported.

推荐答案

听起来您尝试将数据库附加到的服务器不是 SQL Server 2012.这可能是您使用的 Management Studio/Management Studio Express 的版本使用,但我怀疑 SELECT @@VERSION; 会告诉你一些不同的东西.如果您安装了多个 SQL Server 实例,它可能只是连接字符串混淆,否则您应该 从这里下载并安装 SQL Server 2012 Express.

Sounds like the server you are trying to attach the database to is not SQL Server 2012. This may be the version of Management Studio / Management Studio Express you're using, but I suspect SELECT @@VERSION; will tell you something different. It may just be a connection string mixup if you have multiple instances of SQL Server installed, otherwise you should download and install SQL Server 2012 Express from here.

这篇关于无法在 SQL Server 2012 中附加示例数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆