So I just inherited a server I must administer. It runs Windows Server 2003 and SQL Server 2000 -- version [i]I'm Not Sure[/i].I ran 3 different scripts, and even looked at the SQL executable to try to definitively determine the version/SP level.The [b]main[/b] problem I have is: What exactly is the Service Pack applied to this instance of SQL Server 2000?The first query reports [b]SP2[/b], the second query does not report a SP, and the third query reports [b]SP4[/b]. What is going on?!The only thing consistent in all of them is that they all say 8.00.2055. (searching for this on Microsoft.com gives an article that does NOT seem to shed any light on the SP version: http://support.microsoft.com/kb/959420 )This article from Microsoft is extremely UN-helpful, especially as it says near the bottom to use @@VERSION.http://support.microsoft.com/kb/321185/[b]How do you tell -- definitively -- the SP version? My instance returns SP2 and SP4![/b]Oh, and what-the-heck does Hotfix 2280 mean? (nothing on Microsoft.com!)First, here are the [b]results[/b] of my scripts:[size="1"][font="Verdana"]---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Microsoft SQL Server 2000 - [b]8.00.2055[/b] (Intel X86) Dec 16 2008 19:46:53 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.2 ([b]Build 3790: Service Pack 2[/b])(1 row(s) affected)Index Name Internal_Value Character_Value ------ -------------------------------- -------------- ------------------------------------------------------------------------------------------------------------------------ 1 ProductName NULL Microsoft SQL Server2 ProductVersion 524288 [b]8.00.2055[/b]3 Language 1033 English (United States)4 Platform NULL NT INTEL X865 Comments NULL NT INTEL X866 CompanyName NULL Microsoft Corporation7 FileDescription NULL SQL Server Windows NT8 FileVersion NULL [b]2000.080.2055.00 Hotfix 2280[/b]9 InternalName NULL SQLSERVR10 LegalCopyright NULL © 1988-2004 Microsoft Corp. All rights reserved.11 LegalTrademarks NULL Microsoft® is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation12 OriginalFilename NULL SQLSERVR.EXE13 PrivateBuild NULL NULL14 SpecialBuild 134676480 NULL15 WindowsVersion 248381957 5.2 (3790)16 ProcessorCount 8 817 ProcessorActiveMask 255 000000ff18 ProcessorType 586 PROCESSOR_INTEL_PENTIUM19 PhysicalMemory 9727 9727 (10199801856)20 Product ID NULL NULL(20 row(s) affected)ColumnName ColumnValue --------------------------- ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- BuildClrVersion NULLCollation SQL_Latin1_General_CP1_CI_ASCollationID 872468488ComparisonStyle 196609ComputerNamePhysicalNetBIOS NULLEdition Enterprise EditionEditionID NULLEngineEdition 3InstanceName NULLIsClustered 1IsFullTextInstalled 1IsIntegratedSecurityOnly 0IsSingleUser 0LCID 1033LicenseType MachineName NumLicenses ProcessID 4472ProductVersion [b]8.00.2055[/b]ProductLevel [b]SP4[/b]ResourceLastUpdateDateTime NULLResourceVersion NULLServerName SqlCharSet 1SqlCharSetName NULLSqlSortOrder 52SqlSortOrderName NULL(27 row(s) affected)[/font][/size]I also right-clicked on the actual SQL executable sqlservr.exe, and at the top part it says,File version: [b]2000.80.2055.0[/b]and under File Version it has a Value of:[b]2000.080.2055.00 Hotfix 2280[/b]Here are the 3 scripts I ran:--Query 1:SELECT @@VERSION--Query 2:EXEC xp_msver--Query 3:SELECT 'BuildClrVersion' ColumnName, SERVERPROPERTY('BuildClrVersion') ColumnValue UNION ALLSELECT 'Collation', SERVERPROPERTY('Collation')UNION ALLSELECT 'CollationID', SERVERPROPERTY('CollationID')UNION ALLSELECT 'ComparisonStyle', SERVERPROPERTY('ComparisonStyle')UNION ALLSELECT 'ComputerNamePhysicalNetBIOS', SERVERPROPERTY('ComputerNamePhysicalNetBIOS')UNION ALLSELECT 'Edition', SERVERPROPERTY('Edition')UNION ALLSELECT 'EditionID', SERVERPROPERTY('EditionID')UNION ALLSELECT 'EngineEdition', SERVERPROPERTY('EngineEdition')UNION ALLSELECT 'InstanceName', SERVERPROPERTY('InstanceName')UNION ALLSELECT 'IsClustered', SERVERPROPERTY('IsClustered')UNION ALLSELECT 'IsFullTextInstalled', SERVERPROPERTY('IsFullTextInstalled')UNION ALLSELECT 'IsIntegratedSecurityOnly', SERVERPROPERTY('IsIntegratedSecurityOnly')UNION ALLSELECT 'IsSingleUser', SERVERPROPERTY('IsSingleUser')UNION ALLSELECT 'LCID', SERVERPROPERTY('LCID')UNION ALLSELECT 'LicenseType', SERVERPROPERTY('LicenseType')UNION ALLSELECT 'MachineName', SERVERPROPERTY('MachineName')UNION ALLSELECT 'NumLicenses', SERVERPROPERTY('NumLicenses')UNION ALLSELECT 'ProcessID', SERVERPROPERTY('ProcessID')UNION ALLSELECT 'ProductVersion', SERVERPROPERTY('ProductVersion')UNION ALLSELECT 'ProductLevel', SERVERPROPERTY('ProductLevel')UNION ALLSELECT 'ResourceLastUpdateDateTime', SERVERPROPERTY('ResourceLastUpdateDateTime')UNION ALLSELECT 'ResourceVersion', SERVERPROPERTY('ResourceVersion')UNION ALLSELECT 'ServerName', SERVERPROPERTY('ServerName')UNION ALLSELECT 'SqlCharSet', SERVERPROPERTY('SqlCharSet')UNION ALLSELECT 'SqlCharSetName', SERVERPROPERTY('SqlCharSetName')UNION ALLSELECT 'SqlSortOrder', SERVERPROPERTY('SqlSortOrder')UNION ALLSELECT 'SqlSortOrderName', SERVERPROPERTY('SqlSortOrderName')
↧