Yet another SQL Server enthusiast


Azure SQL DB – Firewall settings

Filed under: Uncategorized — sa @ 2:39 AM

Azure SQL DB allows us to configure firewall settings at server level and/or at database level by using following two stored procedures:

  1. sp_set_server_firewall_rule
  2. sp_set_database_firewall_rule
-- Create database-level firewall setting for your public IP address
EXECUTE sp_set_database_firewall_rule @name = N'<rule name>',@start_ip_address = '<start ip>', @end_ip_address = '<end ip>';

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at

%d bloggers like this: