SQL @@VERSION

SQL @@VERSION is one of the Configuration Function, used to return the SQL Server Version, Edition, Processor Architecture, installation date, Operating System version, and Copyright Statement. Syntax behind this is

@@VERSION

SQL @@VERSION Example

It will show you SQL Server Version details that we are currently running.

SELECT @@VERSION AS 'SQL Server Version'
SQL @@VERSION 1