The below will find various useful chunks of information about SQL Including licence information, version and cluster. All using the SERVERPROPERTY command.
Run this:-
SELECT
@@SERVERNAME as InstanceName,
SERVERPROPERTY('BuildClrVersion')
,
SERVERPROPERTY('Collation')
,
SERVERPROPERTY('CollationID')
,
SERVERPROPERTY('ComparisonStyle')
,
SERVERPROPERTY('ComputerNamePhysicalNetBIOS')
,
SERVERPROPERTY('Edition')
,
SERVERPROPERTY('InstanceName')
,
SERVERPROPERTY('IsClustered')
,
SERVERPROPERTY('IsFullTextInstalled')
,
SERVERPROPERTY('IsIntegratedSecurityOnly')
,
SERVERPROPERTY('IsSingleUser')
,
SERVERPROPERTY('LCID')
,
SERVERPROPERTY('LicenseType')
,
SERVERPROPERTY('MachineName')
,
SERVERPROPERTY('NumLicenses')
,
SERVERPROPERTY('ProcessID')
,
SERVERPROPERTY('ProductVersion')
,
SERVERPROPERTY('ProductLevel')
,
SERVERPROPERTY('ResourceLastUpdateDateTime')
,
SERVERPROPERTY('ResourceVersion')
,
SERVERPROPERTY('ServerName')
,
SERVERPROPERTY('SqlCharSet')
,
SERVERPROPERTY('SqlCharSetName')
,
SERVERPROPERTY('SqlSortOrder')
,
SERVERPROPERTY('SqlSortOrderName')
,
SERVERPROPERTY('FilestreamShareName')
,
SERVERPROPERTY('FilestreamConfiguredLevel')
,
SERVERPROPERTY('FilestreamEffectiveLevel')
Run this:-
SELECT
@@SERVERNAME as InstanceName,
SERVERPROPERTY('BuildClrVersion')
,
SERVERPROPERTY('Collation')
,
SERVERPROPERTY('CollationID')
,
SERVERPROPERTY('ComparisonStyle')
,
SERVERPROPERTY('ComputerNamePhysicalNetBIOS')
,
SERVERPROPERTY('Edition')
,
SERVERPROPERTY('InstanceName')
,
SERVERPROPERTY('IsClustered')
,
SERVERPROPERTY('IsFullTextInstalled')
,
SERVERPROPERTY('IsIntegratedSecurityOnly')
,
SERVERPROPERTY('IsSingleUser')
,
SERVERPROPERTY('LCID')
,
SERVERPROPERTY('LicenseType')
,
SERVERPROPERTY('MachineName')
,
SERVERPROPERTY('NumLicenses')
,
SERVERPROPERTY('ProcessID')
,
SERVERPROPERTY('ProductVersion')
,
SERVERPROPERTY('ProductLevel')
,
SERVERPROPERTY('ResourceLastUpdateDateTime')
,
SERVERPROPERTY('ResourceVersion')
,
SERVERPROPERTY('ServerName')
,
SERVERPROPERTY('SqlCharSet')
,
SERVERPROPERTY('SqlCharSetName')
,
SERVERPROPERTY('SqlSortOrder')
,
SERVERPROPERTY('SqlSortOrderName')
,
SERVERPROPERTY('FilestreamShareName')
,
SERVERPROPERTY('FilestreamConfiguredLevel')
,
SERVERPROPERTY('FilestreamEffectiveLevel')