@@MICROSOFTVERSION#

Returns version information of SQL Server which Querona is compatible with.

Syntax#

@@MICROSOFTVERSION

Return types#

int

Example#

SELECT CAST(@@MICROSOFTVERSION as binary(10))  as VarBinary
          , @@microsoftversion / 0x01000000    as VersionNumber1
          , @@microsoftversion / power(2, 24)  as VersionNumber2
          , @@microsoftversion & 0xFFFF        as ReleaseNumber

See Also#