MS SQL Query version number

You can use global variables or using the SERVERPROPERTY @@ VERSION () function:

reference:

 

SELECT @@VERSION

SELECT SERVERPROPERTY('Edition')
Source Code

 

The results of the query, there are two reference values ​​can be:

x86 = 32-bit
x64 = 64-bit

 

Guess you like

Origin www.cnblogs.com/insus/p/12341943.html