If you’re running SQL Server, it’s very wise to make sure that you have the latest service pack installed for optimum performance. If you’re not sure what service pack you have installed (or if you’re still running RTM), follow these steps to find out:
1. Open SQL Server Management Studio.
2. Click the New Query button.
3. Copy and paste the following into your query window:
SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition')
4. Click the Execute button.
The results will display the version number, service pack number and the edition of SQL Server 2005 that is installed on the server.