SELECT SERVERPROPERTY('ProductLevel') SELECT @@VERSION SELECT SERVERPROPERTY('ProductVersion') select serverproperty('edition') select case serverproperty('EngineEdition') when 1 then 'Personal' when 2 then 'Standard' when 3 then 'Enterprise' else 'Unknown' end select serverproperty('productversion') select serverproperty('productlevel') -- RTM, SP4, ... select serverproperty('Collation') select..