Welcome to SqlServer-QA.net Sign in | Join | Help

SQL Server Storage Engine & Tools (SSQA.net)

SQL Server Tools includes storage engine that includes a complete set of graphical tools and command prompt utilities that allow users, programmers, and administrators. SSMS, SSRS, SSIS & SSAS are most commonly used tools.
How to find whether Sql Server 2005 x86 is installed or x64 is installed?

Say you have multiple instances of SQL Server and on mixed platforms such as 32 bit and X64 bit platforms, so how do you find which version of SQL you have installed. If you are well versed with the environment then by looking at the servernames you can mention so.

But how about a new DBA started and need to perform a set of actions on X64 editions and with no documentation available!

SELECT @@VERSION

or

SELECT  SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')

This will display the results and will give you the information. Also another way to find by referring to the registry keys that are listed below:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\MSSQL.1\Setup\Edition

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\NS\Setup\Edition
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\DTS\Setup\Edition
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\90\Tools\Setup\Edition

Further refer to this SQLCLR method to obtain registry information.

Posted: Sunday, July 29, 2007 7:36 AM by SQL Master

Comments

SSQA.net - SqlServer-QA.net said:

Say you have multiple instances of SQL Server and on mixed platforms such as 32 bit and X64 bit platforms

# July 29, 2007 12:30 PM

Other SQL Server Blogs around the Web said:

Say you have multiple instances of SQL Server and on mixed platforms such as 32 bit and X64 bit platforms

# August 6, 2007 9:53 PM
Anonymous comments are disabled