简体   繁体   English

无法从本地PC上的Visual Studio 2010(SSDT)创建SQL Server 2012数据库

[英]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.

相关问题 我无法从Visual Studio 2012连接到我的SQL Server 2014数据库 - I can't connect to my SQL Server 2014 database from Visual Studio 2012 无法从Visual Studio Express 2012创建SQL Server数据库 - Unable to create SQL Server database from Visual Studio Express 2012 使用Visual Studio 2010创建SQL Server 2012数据库项目 - Creating SQL Server 2012 Database Projects using Visual Studio 2010 无法在 SQL Server 2012 中创建数据库 - Can't create a database in SQL Server 2012 如何从Visual Studio 2012连接到SQL Server 2000数据库 - How to connect to SQL Server 2000 database from Visual Studio 2012 如何在Visual Studio 2010中使用我的设置和部署项目部署SQL Server数据库? - How can I deploy the SQL server database with my setup and deployment project in Visual Studio 2010? 无法使用Visual Studio连接到Microsoft SQL Server 2012 Express - Can't connect to Microsoft SQL Server 2012 Express with Visual Studio 无法使用Visual Studio将数据库连接到本地服务器 - Can't connect my database to my local server using Visual Studio 使用C#连接到SQL Server 2012数据库(Visual Studio 2012) - Connect to SQL Server 2012 Database with C# (Visual Studio 2012) 我无法使用Visual Studio 2010 Express在SQL Server 2008 R2 Management Studio的表中插入项目 - I can't insert items in table in my SQL Server 2008 R2 Management Studio using Visual Studio 2010 Express
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM