SQL Server版本的检查- -

      电脑技巧 2006-5-27 19:17
方法一:
Select @@Version
go
这时会返回SQL的版本信息,如下:
Microsoft SQL Server 2000 - 8.00.760 (Intel X86) Dec 17 2002 14:22:05 Copyright (c) 1988-2003 Microsoft Corporation Enterprise Edition on Windows NT 5.0 (Build 2195: Service Pack 3)

方法二:
execute master..sp_msgetversion
go
这时会返回SQL的版本信息,如下
Character_value
-------------------- ----------- -----------
8.00.760 1 3

其中的8.00.760就是SQL Server的版本和补丁号。对应关系如下:
8.00.194 ——SQL Server 2000 RTM
8.00.384 ——(SP1)
8.00.534 ——(SP2)
8.00.760 ——(SP3)
8.00.2039 ——(SP4)
这样我们就能看到SQL Server的正确版本和补丁号了。


图片如下:
标签集:TAGS:
回复Comments() 点击Count()

回复Comments

{commenttime}{commentauthor}

{CommentUrl}
{commentcontent}