Connect Azure SQL database using query editor or Azure Data Studio to query a database
To avoid the below error, please whitelist the local IP to server firewall settings or click the link given in the below screen. Below screen appears when connected. Connect using Azure Data Studio. When connection is successful, below screen would appear. Query output