Export (0) Print
Expand All
Expand Minimize
0 out of 5 rated this helpful - 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 information returned by @@VERSION is similar to the product name, version, platform, and file data that is returned by the xp_msver stored procedure; however, xp_msver provides more detailed information.

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.