An Example of using the convert fuction when using these values in queries notice
EditionId is Set to BigIntCONVERT(nvarchar(128),SERVERPROPERTY('BuildClrVersion')= BuildClrVersion and
CONVERT(nvarchar(128),SERVERPROPERTY('Collation')= Collation and
CONVERT(int,SERVERPROPERTY('CollationID')= CollationID and
CONVERT(int,SERVERPROPERTY('ComparisonStyle')= ComparisonStyle and
CONVERT(nvarchar(128),SERVERPROPERTY('ComputerNamePhysicalNetBIOS')= ComputerNamePhysicalNetBIOS and
CONVERT(nvarchar(128),SERVERPROPERTY('Edition')= Edition and
CONVERT(bigint,SERVERPROPERTY('EditionID')= EditionID and
CONVERT(int,SERVERPROPERTY('EngineEdition')= EngineEdition and
CONVERT(nvarchar(128),SERVERPROPERTY('InstanceName')= InstanceName and
CONVERT(bit,SERVERPROPERTY('IsClustered')= IsClustered and
CONVERT(bit,SERVERPROPERTY('IsFullTextInstalled')= IsFullTextInstalled and
CONVERT(bit,SERVERPROPERTY('IsIntegratedSecurityOnly')= IsIntegratedSecurityOnly and
CONVERT(bit,SERVERPROPERTY('IsSingleUser')= IsSingleUser and
CONVERT(int,SERVERPROPERTY('LCID')= LCID and
CONVERT(nvarchar(128),SERVERPROPERTY('LicenseType')= LicenseType and
CONVERT(nvarchar(128),SERVERPROPERTY('MachineName')= MachineName and
CONVERT(int,SERVERPROPERTY('NumLicenses')= NumLicenses and
CONVERT(int,SERVERPROPERTY('ProcessId')= ProcessId and
CONVERT(nvarchar(128),SERVERPROPERTY('ProductVersion')= ProductVersion and
CONVERT(nvarchar(128),SERVERPROPERTY('ProductLevel')= ProductLevel and
CONVERT(datetime,SERVERPROPERTY('ResourceLastUpdateDateTime')= ResourceLastUpdateDateTime and
CONVERT(nvarchar(128),SERVERPROPERTY('ResourceVersion')= ResourceVersion and
CONVERT(nvarchar(128),SERVERPROPERTY('ServerName')= ServerName and
CONVERT(tinyint,SERVERPROPERTY('SqlCharSet')= SqlCharSet and
CONVERT(nvarchar(128),SERVERPROPERTY('SqlCharSetName')= SqlCharSetName and
CONVERT(tinyint,SERVERPROPERTY('SqlSortOrder')= SqlSortOrder and
CONVERT(nvarchar(128),SERVERPROPERTY('SqlSortOrderName')= SqlSortOrderName and
CONVERT(nvarchar(128),SERVERPROPERTY('FilestreamShareName')= FilestreamShareName and
CONVERT(nvarchar(128),SERVERPROPERTY('FilestreamConfiguredLevel')= FilestreamConfiguredLevel and
CONVERT(nvarchar(128),SERVERPROPERTY('FilestreamEffectiveLevel')= FilestreamEffectiveLevel;