What version of SQL Server is running?
[update: SQL2005 versions more info here]
To find out what version of SQL Server your running, do this:
From the command prompt on the SQL Server itself,
osql -E -S %computername%
This will give you a SQL prompt, at which you do the following:
1>exec master..xp_msver 'ProductName'
2>exec master..xp_msver 'ProductVersion'
3>go
This gives you two bits of information, (1) the Product Name & (2) the Product Version – which requires some interpretation, note them both. But first, at the SQL prompt, type quit.
1>quit
The table below will help determine exactly what SQL Server is running.
By finding the file SSNETLIB.DLL and right clicking it, and checking the version number. If the version number of this file is 2000.80.760.0, you have SQL Server 2000 SP3. If the version number of this file is 2000.80.766.0, you have SQL Server 2000 SP3a.
This file is normally found in one of these two locations:
- Default instance: C:\Program Files\Microsoft SQL Server\Binn\Ssnetlib.dll
- Named instance: C:\Program Files\Microsoft SQLServer\MSSQL$<InstanceName>\Binn\Ssnetlib.dll
Of course, Microsoft have more to say and you can find it at: www.support.microsoft.com/kb/321185








