In this article, we’ll learn in a step-by-step process to connect and query the data warehouse that we created – SQL Pool. This article will share light on the power of the use of different tools Microsoft provides from Azure, Data Warehousing, SQL Server Management Studio, Azure Data Studio and more. Lastly, we’ll also learn to delete the resource we create in order to save ourselves from any charges that may incur.
This article is a part of the Azure Synapse Analytics Articles Series. You can check out other articles in the series from the following links.
- Azure Synapse Analytics
- Azure Synapse Analytics - Create Dedicated SQL Pool
- Azure Synapse Analytics - Creating Firewall at Server-level
- Azure Synapse Analytics - Connect, Query and Delete Data Warehouse SQL Pool
Azure Synapse Analytics
Azure Synapse is a limitless enterprise analytics service that enables us to get insight from data analytics and data warehousing. Using dedicated resources or serverless architecture, data can be queried and provides scalability as per the increase in the size of the data. You can learn more about it in the previous article, Azure Synapse Analytics.
Data Warehouse
Data Warehouse can be understood as a core part of business intelligence which enables data analysis and reporting and are basically the major repository which consists of data that are integrated from different disparate sources. The endless possibility of data mining starts with Data Warehousing.
In the previous article, we learn to create data warehouse through the dedicated SQL pool. Today, let us dive deeper into connecting to the data warehouse and querying it.
Step 1
First of all, follow the articles Azure Synapse Analytics - Create Dedicated SQL Pool and Azure Synapse Analytics - Creating Firewall at Server-level and create a dedicated SQL pool with secure firewall enabled.
Connecting to Data Warehouse - SQL Pool
Step 2
Next, we visit the home page of data warehouse we just created, ojash-pool.


Here, copy the server name.
Step 3
Next, we visit the SQL Server Management Studio. Since, Azure Data Studio has the SSMS functionality enabled, we use the Azure Data Studio and add in new connection.

Step 4
Here, fill in the Server name that we copied earlier. Set the Connection type as Microsoft SQL Server.

Next, we set the Authentication type as SQL Login. Once we do this, we are provided with the option to fill in the User name and Password. This is the same login details we setup while creating the SQL Pool.

Once done, click on Connect.
Step 5
Now, the Azure Data Studio will be connected to the server which consists the data warehouse SQL pool we created. Here, we can view ojash-pool with the status ONLINE.

On the left-hand side, as we expand the Tables in ojash-pool we can see numerous tables which is basically the sample data we created initially.



















Join the conversation! Your thoughts help the community grow.