which version of sql code example Example: sql version query SELECT @@VERSION AS 'SQL Server Version';