sql server see version code example Example 1: sql server check version SELECT @@version Example 2: sql server version query SELECT @@VERSION