Sample Header Ad - 728x90

how to find out if I am in azure or not?

1 vote
2 answers
303 views
I am talking about sql server here. I can connect to azure . I can also manage permissions . But while doing some automation, I need to know if I am in azure or normal sql. how can I achieve that? I have been using the @@version . However, it is said it is not accurate .
Asked by Marcello Miorelli (17274 rep)
Jul 25, 2022, 03:21 PM
Last activity: Jul 25, 2022, 03:38 PM