How to determine which version of SQL (for example, SQL 2008 or SQL Azure)

I need to determine in which version of SQL I came across in order to cover various tasks, I need to specifically determine if I am on SQL 2008 or SQL Azure.

How to do this with discovery code written in SQL?

+3
source share
1 answer

A good place to start might be: Programmatically define SQL Server Edition .

0
source

Source: https://habr.com/ru/post/1716846/


All Articles