Question

I need to detect which version of SQL I am dealing with to perorm various tasks, I need specifically detect if I am on SQL 2008 or SQL Azure.

How can I do this with detection code written in SQL?

Was it helpful?

Solution

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top