SQL @@VERSION

SQL Server @@VERSION is a Configuration function that returns the Version, Edition, Processor Architecture, installation date, Operating System version, and Copyright Statement. The syntax behind this is

@@VERSION

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

SELECT @@VERSION AS 'SQLServerVersion'
SQL @@VERSION 1