Reputation: 1013
Where is the information about database firewall rules stored in Azure?
I executed below line on Azure SQL Database EXECUTE sp_set_database_firewall_rule N'database firewall','x.x.x.x','x.x.x.x';
I worked and I got information that one row was affected. Where is this row?
Upvotes: 0
Views: 1217
Reputation: 1013
SELECT * FROM sys.firewall_rules
shows the firewall settings at the server level. Fortunetaly I found what i wanted executing:
SELECT * FROM sys.database_firewall_rules
I did not have to switch context to the master database.
Upvotes: 4
Reputation: 1493
Change your context to the master database and execute the following:
SELECT * FROM sys.firewall_rules
Upvotes: 0