Microsoft - Microsoft SQL Server - SQL - Version - Get Version
SELECT
@@VERSION
AS
'SQL Server Version'
;