devxlogo

June 21, 2018

Determine Which Version of SQL You Are Running

The following are two T-SQL methods that determine which version of SQL you are running. The first one is very short, using the @@VERSION?variable, whereas the longer method makes use