find which version of sql serve i am running code example Example: sql server check version SELECT @@version