How do I know what version of SQL Server Express my database is in?

大憨熊 提交于 2019-12-23 03:05:44

问题


A year ago or so I started to develop an app in Visual Studio 2013. The database was in the SQL Server Express edition.

I'm just getting back to it now. I've upgraded VS to 2015 Community edition and wanted to use the DB. But I can't open it. The error I am receiving is:

The Data Source value in the connection string specifies an instance of SQL Server that is not installed. To resolve this issue, you can either choose to install the matching instance of SQL Server or modify the Data Source value in the connection string.

I'm trying to figure out what version the old db is in so I can install the proper version or change the connection string. How do I find out the version of SQL Server Express the database is in?


回答1:


1) Click on server explorer and found your database

2) right click on the database of your solution

3) on the menu click for a new query

4) on the new query type: select @@version

5) read for your db version



来源:https://stackoverflow.com/questions/35186375/how-do-i-know-what-version-of-sql-server-express-my-database-is-in

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!