Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

@@VERSION (Transact-SQL)

Returns version, processor architecture, build date, and operating system for the current installation of SQL Server.

Topic link icon Transact-SQL Syntax Conventions


@@VERSION

nvarchar

The @@VERSION results are presented as one nvarchar string. You can use the SERVERPROPERTY (Transact-SQL) function to retrieve the individual property values.

The following example shows returning the version information for the current installation.

SELECT @@VERSION AS 'SQL Server Version'
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.