- ETL with Azure Cookbook
- Christian Cote Matija Lah Madina Saitakhmetova
- 260字
- 2021-06-11 18:02:39
Connecting SQL Management Studio to Azure SQL
This recipe will show you how to connect to our Azure SQL database from your computer.
Getting ready
This recipe assumes that you have installed SSMS.
How to do it…
This is a very short and simple recipe! Let's begin by opening SSMS:
- We're going to connect to the Azure database that we created in the previous recipe, Creating a SQL Azure database. Log into your Azure subscription and navigate to the ETLInAzureCookBook resource group.
- Click on the AdventureWorksLT SQL database to open its blade. Copy the server name found at the top right as shown in the following screenshot:
Figure 2.14 – Get the server name from the Azure subscription
- Using SSMS, log into the server using the username and password that we used in Step 7 of the previous recipe: Creating a SQL Azure database. Once connected, the Object Explorer shows the database and its related objects. Expanding the Tables folder lists all the tables, as shown in the following screenshot:

Figure 2.15 – Azure SQL SSMS Object Explorer
That's it! We have connected to our Azure SQL server from an on-premises program.
How it works…
Connecting to a SQL Azure database is not as simple as a regular on-premises database. We must open firewall rules to access the database on-premises. This is done by design to prevent any malicious data from accessing our data in Azure. But, once we are connected, we can query the data as simply as if it was a regular SQL Server database on-premises.
推薦閱讀
- Cinema 4D R13 Cookbook
- WOW!Illustrator CS6完全自學(xué)寶典
- Getting Started with Containerization
- 計算機(jī)控制技術(shù)
- Blender Compositing and Post Processing
- JavaScript典型應(yīng)用與最佳實(shí)踐
- 菜鳥起飛系統(tǒng)安裝與重裝
- 網(wǎng)絡(luò)存儲·數(shù)據(jù)備份與還原
- Puppet 3 Beginner’s Guide
- Photoshop CS4數(shù)碼照片處理入門、進(jìn)階與提高
- 設(shè)計模式
- Effective Business Intelligence with QuickSight
- 開放自動化系統(tǒng)應(yīng)用與實(shí)戰(zhàn):基于標(biāo)準(zhǔn)建模語言IEC 61499
- 當(dāng)產(chǎn)品經(jīng)理遇到人工智能
- 互聯(lián)網(wǎng)單元測試及實(shí)踐