问题
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