
You can always use the login and password for the server admin. To connect with SQL authentication, under SQL server authentication, enter a Login and Password for a user that has access to the database, and then select OK. You can connect using SQL authentication or Azure AD.

On the sign-in screen, provide credentials to connect to the database. On your SQL database Overview page in the Azure portal, select Query editor (preview) from the left menu.

Set up an Azure Active Directory (Azure AD) administrator for the database's SQL server.Īn Azure AD server administrator can use a single identity to sign in to the Azure portal and the SQL server and databases. Have or set up a user that can connect to the database with SQL authentication. If you don't have it, you can create a database in Azure SQL Database that has the AdventureWorks sample data.Ī user account with permissions to connect to the database and query editor. The AdventureWorksLT sample Azure SQL database. In this quickstart, you connect to an Azure SQL database in the portal and use query editor to run Transact-SQL (T-SQL) queries. Query editor (preview) is a tool to run SQL queries against Azure SQL Database in the Azure portal.
