A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/azure/azure-sql/database/query-editor below:

Azure portal query editor - Azure SQL Database

Applies to: Azure SQL Database

The Query editor (preview) is a tool to run T-SQL queries in the Azure portal in the browser against Azure SQL Database.

Query your Azure SQL Database from the Azure portal

The query editor is designed for lightweight querying and object exploration in your Azure SQL database, all from within the browser in the Azure portal. You can run T-SQL queries against your database, as well as edit data in the build-in tabular data editor.

Similar to the query experience in SQL Server Management Studio, use the query editor for both simple queries or larger T-SQL queries. You can execute Data Manipulation Language (DML) and Data Definition Language (DDL) queries.

Connect via the query editor

There are two authentication options for query editor: SQL authentication or authentication with Microsoft Entra ID (formerly Azure Active Directory).

Authentication to Azure SQL Database

For examples, see Quickstart: Use the Azure portal query editor (preview) to query Azure SQL Database.

Permissions required to access the query editor

Users need at least the Azure role-based access control (RBAC) permission Read access to the server and database to use the query editor.

Navigate query editor

There are four main sections of the query editor:

Navigation bar

There are four tasks you can perform in the navigation bar.

Object explorer

The object explorer allows you to view and perform tasks against your database's tables, views, and stored procedures.

Query window

This window allows you to type or paste a query, then run it. The results of the query are shown in the Results pane.

You can cancel your query. As noted under Considerations and limitations, there's a five-minute timeout period.

The Save query button allows you to save the query text to your computer as a .sql file.

The Export data as button allows you to export the query results to your computer as a .json, .csv, or .xml file.

The query execution time, or errors, are shown in the status bar.

Microsoft Copilot in Azure SQL Database (preview)

Copilot for Azure SQL Database within the Azure portal provides relevant answers to user questions, simplifying database management by applying database context, documentation, dynamic management views, Query Store, and other knowledge sources.

Data editor

The data editor allows you to modify data in an existing row, add a new row of data to the table, or delete a row of data. This is similar to the experience in SQL Server Management Studio (SSMS).

To access data editor, in the object explorer expand Tables, then select the ellipses to the right of the table name and select Edit Data (Preview).

To modify data in an existing row, select the value you want to change, make your change, and then select Save at the top.

To add a new row, select Create New Row and enter the values you want to add. There are certain data types you can't add or work with in this context.

To delete a row of data, select the row and select Delete Row.

Considerations and limitations

The following considerations and limitations apply when connecting to and querying Azure SQL Database with the Azure portal query editor.

Query editor limitations Other ways to query your Azure SQL Database

In addition to the Azure portal query editor for Azure SQL Database, consider the following quickstarts for other tools:

Connection considerations Connection error troubleshooting Port 443 and 1443 connectivity

You might get one of the following errors in the query editor:

These errors occur because the query editor is unable to communicate through ports 443 and 1443. You need to enable outbound HTTPS traffic on these ports. The following instructions walk you through this process, depending on your OS. Your corporate IT department might need to grant approval to open this connection on your local network.

Allow 443 and 1443 in Windows Defender Firewall
  1. Open Windows Defender Firewall.
  2. On the left menu, select Advanced settings.
  3. In Windows Defender Firewall with Advanced Security, select Outbound rules on the left menu.
  4. Select New Rule on the right menu.
  5. In the New outbound rule wizard, follow these steps:
    1. Select port as the type of rule you want to create, and then select Next.
    2. Select TCP.
    3. Select Specific remote ports, enter 443, 1443, and then select Next.
    4. Select Allow the connection if it is secure, select Next, and then select Next again.
    5. Keep Domain, Private, and Public selected.
    6. Give the rule a name, for example Access Azure SQL query editor, and optionally provide a description. Then select Finish.
Allow 443 and 1443 in macOS
  1. On the Apple menu, open System Preferences.
  2. Select Security & Privacy, and then select Firewall.
  3. If Firewall is off, select Click the lock to make changes, and select Turn on Firewall.
  4. Select Firewall Options.
  5. In the Security & Privacy window, select Automatically allow signed software to receive incoming connections.
Allow 443 and 1443 in Linux

Run these commands to update iptables:

sudo iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT
sudo iptables -A OUTPUT -p tcp --dport 1443 -j ACCEPT
Allow 443 and 1443 in Azure VM

When using Azure VMs, you have an Azure network security group blocking connectivity. A network security group can filter inbound and outbound network traffic to and from Azure resources in an Azure virtual network. You need to add an outbound security rule to the network security group. For an example, see Create security rules.

Next step

Quickstart: Use the Azure portal query editor to query Azure SQL Database


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4