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:
To connect to Synapse SQL using serverless 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:
To explore, expand your Azure SQL server. You can view the databases associated with the server. Expand demo to see the content in your sample database.
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.
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 demo.dbo.usPopulationView;
Run the query by selecting Execute
or use the following shortcut: F5
.
Look at the query results. In this example, the usPopulationView
view has 3,664,512 rows.
Was this page helpful?
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