[英]Can't create SQL Server 2012 database from Visual studio 2010 (SSDT) on my local PC
I am a new SQL Server programmer and this is my first question on stackoverflow. 我是一名新的SQL Server程序员,这是我关于stackoverflow的第一个问题。 Anticipating your help...
期待您的帮助...
I have these installed in my PC: Windows 7 ultimate SP1 + SQL Server 2012 Enterprise + Visual Studio 2010 (SSDT which came with my SQL Server 2012). 我在PC中安装了以下软件:Windows 7 Ultimate SP1 + SQL Server 2012 Enterprise + Visual Studio 2010(SQL Server 2012附带的SSDT)。 What I want to do is create a database from SSDT.
我想要做的是从SSDT创建数据库。
In server explorer, I right clicked the data connection -> create new SQL Server database. 在服务器资源管理器中,我右键单击数据连接->创建新的SQL Server数据库。 After I input my server name and choose "Use Windows authentication" (which is the case with my SQL Server 2012), I got this warning:
输入服务器名称并选择“使用Windows身份验证”(SQL Server 2012就是这种情况)后,出现以下警告:
This server version is not supported.
不支持此服务器版本。 Only servers up to Microsoft SQL Server 2008 are supported.
仅支持Microsoft SQL Server 2008以下的服务器。
What shall I do? 我该怎么办? Shall I upgrade to Visual studio 2013 or I have other options?
我应该升级到Visual Studio 2013还是其他选择?
Much appreciated if anyone can help. 非常感谢任何人都可以提供帮助。
Visual Studio isn't really the issue here. Visual Studio并不是这里真正的问题。 And you didn't say why you installed VS 2010 (are you actually developing apps with it?).
而且您没有说为什么安装VS 2010(您实际上是在用它开发应用程序吗?)。 If you're not actually developing in VS, I would remove it and just install the latest SSDT.
如果您实际上不是在VS中进行开发,则可以将其删除,然后安装最新的SSDT。 This will install a VS shell, containing enough functionality to fully run SSDT.
这将安装一个VS Shell,其中包含足以完全运行SSDT的功能。 Then you should be able to create SQL Server 2012 databases, which I assume is what you want to do.
然后,您应该能够创建SQL Server 2012数据库,我假设这是您想要做的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.