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
SQL @@VERSION Example
The below code snippet will show you SQL Server Version details that we are currently running.
SELECT @@VERSION AS 'SQL Server Version'