How to know which SQL Server I am using code example Example: sql version query SELECT @@VERSION AS 'SQL Server Version';