Azure SQL Database Quickstarts

Get started quickly with Azure SQL Database. Follow these step-by-step guides to set up, connect, and query your first database.

Your First Steps

Create a Single Database

Learn how to provision your first Azure SQL single database using the Azure portal, Azure CLI, or PowerShell.

Start Now

Connect to Your Database

Discover various methods to connect to your Azure SQL Database from different applications and tools.

Connect & Query

Deploy a Sample Database

Quickly deploy a sample database like AdventureWorksLT to explore its schema and data.

Deploy Sample

Configure Firewall Rules

Understand and configure firewall rules to secure access to your Azure SQL Database.

Secure Access

Example: Basic Connection String

Here's an example of a common connection string for Azure SQL Database:

Server=tcp:your_server_name.database.windows.net,1433;Initial Catalog=your_database_name;Persist Security Info=False;User ID=your_user_name;Password=your_password;MultipleActiveResultSets=False;Encrypt=True;TrustServerCertificate=False;Connection Timeout=30;

Replace placeholders like your_server_name, your_database_name, your_user_name, and your_password with your actual credentials.