หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Returns version, processor architecture, build date, and operating system for the current installation of SQL Server.
Transact-SQL Syntax Conventions
Syntax
@@VERSION
Return Types
nvarchar
Remarks
The @@VERSION results are presented as one nvarchar string. You can use the SERVERPROPERTY (Transact-SQL) function to retrieve the individual property values.
Examples
The following example shows returning the version information for the current installation.
SELECT @@VERSION AS 'SQL Server Version'