SQL server 版本查询

SELECT SERVERPROPERTY('Collation') AS Collation,
 SERVERPROPERTY('CollationID') AS CollationID,
SERVERPROPERTY('ProductVersion') as ProductionVersion,
SERVERPROPERTY('ProductLevel')as ProductLevel,
SERVERPROPERTY('Edition') as edition;

Collation	CollationID	ProductionVersion	ProductLevel	edition
Chinese_PRC_CI_AS	53284	13.0.4001.0	SP1	Enterprise Edition (64-bit)



select @@version;
Microsoft SQL Server 2016 (SP1) (KB3182545) - 13.0.4001.0 (X64)   
Oct 28 2016 18:17:30   Copyright (c) Microsoft Corporation  
Enterprise Edition (64-bit) on Windows 10 Enterprise 6.3  (Build 14393: ) 

参考:
https://www.cnblogs.com/roboot/p/5805447.html

 

你可能感兴趣的:(Linux)