如何从 2008 年到 2010 年运行默认 SQL Server
我的 PC 上安装了 Sql Server 2005 和 2008。默认情况下,2008正在运行,并且在Visual Studio 2010中连接。
我怎样才能使Sql server 2005作为默认sql服务器并与VS 2010建立连接。
谢谢
(请告诉我解决方案,而无需卸载任何Sql服务器。)
I have Sql Server 2005 and 2008 installed on my PC. By default 2008 is running and it is connected in visual studio 2010.
How could I make Sql server 2005 as default sql server and make connection with VS 2010.
Thank You
(Please tell me solutions without Uninstalling any of the Sql servers.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不太清楚这里问的是什么,但可能是
1) 如何查明是否安装了 SQL 2005 及其实例名称。
John Hartsocks 回答已安装 SQL Server 2008,但运行版本仍为 2005 建议
如果您愿意的话,我也可以回答使用 PowerShell 的问题。
2)我如何与 VS 2010 连接
为此,您需要更具体。您是否在询问实体框架、Linq To SQL、对象数据源问题?也许您只是在询问服务器资源管理器窗口?
Its not really clear what's being asked here, but it could be
1) How do I find out if SQL 2005 is installed and what is its instance name.
John Hartsocks answer to SQL Server 2008 installed, though running version is still 2005 would recommend
I also have answer to that question that uses PowerShell if you're so inclined.
2) How do I make connection with VS 2010
For this you'll need to be more specific. Are you asking about Entity Framework, Linq To SQL, Object Data source question? Perhaps you're just asking about the Server Explorer window?