Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
You can use SQL Server Management Studio (SSMS) to connect to and query Synapse SQL in Azure Synapse Analytics through either serverless SQL pool or dedicated SQL pool resources.
Note
Supported tools for serverless SQL pool:
To connect to Synapse SQL using dedicated SQL pool, follow these steps:
Open SQL Server Management Studio (SSMS).
In the Connect to Server dialog box, fill in the fields, and then select Connect:
Expand your Azure SQL Server in Object Explorer. You can view the databases associated with the server, such as the sample AdventureWorksDW
database. You can expand the database to see the tables:
After you establish a database connection, you can query the data.
Right-click your database in SQL Server Object Explorer.
Select New Query. A new query window opens.
Copy the following Transact-SQL (T-SQL) query into the query window:
SELECT COUNT(*) FROM dbo.FactInternetSales;
Run the query by selecting Execute
or use the following shortcut: F5
.
Look at the query results. In the following example, the FactInternetSales
table has 60,398 rows.
Events
Mar 31, 11 PM - Apr 2, 11 PM
The biggest Fabric, Power BI, and SQL learning event. March 31 – April 2. Use code FABINSIDER to save $400.
Register todayDocumentation
Connect to Synapse SQL - Azure Synapse Analytics
Get connected to Synapse SQL.
Connect to Synapse SQL with Azure Data Studio - Azure Synapse Analytics
Use Azure Data Studio to connect to and query Synapse SQL in Azure Synapse Analytics.
Connection strings for Synapse SQL - Azure Synapse Analytics
Connection strings for Synapse SQL