获得sql server本版 SELECT SERVERPROPERTY('productversion'), SERVERPROPERTY ('productlevel'), SERVERPROPERTY ('edition') 9.0 =>2005 8.0 =>2000