sql version query
snippet in sql

sql version query

user9602

SELECT @@VERSION AS 'SQL Server Version';