how to find your sql server version code example Example: sql version query SELECT @@VERSION AS 'SQL Server Version';