語法為:
SELECT SERVERPROPERTY('productversion'),SERVERPROPERTY ('productlevel'),SERVERPROPERTY ('edition')
9.00.4035.00 SP3 Enterprise Edition (64-bit)
=>指 SQL Server 2005 Service Pack 3
資料來源:http://support.microsoft.com/kb/321185/zh-tw
或
select @@version