Reputation: 9301
I'm using Visual Studio 2010 Premium and I just wonder if there is a way to see if the database SQL Server 2008 Express is already installed? I read somewhere that if you have the Professional version of Visual Studio it's installed!?
Simple question, but just want to check before I download and install the database. Thanks!
Upvotes: 0
Views: 99
Reputation:
To check if SQL Server is installed, you can check if this registry key exists: HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Microsoft SQL Server
For the version, I'm not sure since I don't have different versions of SQL Server installed. On my computer, the registry path HKEY_LOCAL_MACHINE\SOFTWARE\MICROSOFT\Microsoft SQL Server\80\Tools\Client Setup\Current Version exists. In this key, you can read the string "CurrentVersion". In my case it's 8.00.194.
Best Regards,
or for the alternate you can use
Alternate resource for verfying Sql instance
Upvotes: 1