| How to determine which service pack of sql server is installed |
|
To get to know what service pack is installed on a sql server instance you can obtain the current version of SQL Server and then look up to which service pack it correspond or you may use query against SQL Server instances starting from sql server 2005
SELECT SERVERPROPERTY('productversion') as productversion ,SERVERPROPERTY('productlevel') as productlevel ,SERVERPROPERTY('edition') as edition
which returns exactly what you need like productversion productlevel edition For more information read Microsoft Knowledge Base article 321185. To determine what is the version of SQL Server inctance run query
It returns something like Microsoft SQL Server 2008 (RTM) - 10.0.1600.22 (Intel X86) Jul 9 2008 14:43:34 Copyright (c) 1988-2008 Microsoft Corporation Enterprise Evaluation Edition on Windows NT 5.1 <X86> (Build 2600: Service Pack 3) or Microsoft SQL Server 2005 - 9.00.3068.00 (Intel X86) Feb 26 2008 18:15:01 Copyright (c) 1988-2005 Microsoft Corporation Developer Edition on Windows NT 5.1 (Build 2600: Service Pack 3)
Bold numbers are actually the verstions of sql server instances. Alternately, using SQL Server Enterprise Manager or SQL Server Management studio expand the list of servers, right click the server and select ‘Properties’.
Then look up the version number up in one of the tables below. For SQL Server 2005:
For SQL Server 2000:
For SQL Server 7:
For SQL Server 6.5:
For SQL Server 6:
Comments (0) |