- 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.
推薦閱讀
- 網(wǎng)上沖浪
- 空間機(jī)器人遙操作系統(tǒng)及控制
- TestStand工業(yè)自動(dòng)化測(cè)試管理(典藏版)
- 網(wǎng)上生活必備
- Visual Basic從初學(xué)到精通
- 自動(dòng)生產(chǎn)線的拆裝與調(diào)試
- 觸控顯示技術(shù)
- Blender 3D Printing by Example
- Godot Engine Game Development Projects
- Mastering Exploratory Analysis with pandas
- 工業(yè)機(jī)器人入門實(shí)用教程
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)實(shí)訓(xùn)·職業(yè)模塊
- Python語(yǔ)言從入門到精通
- 微計(jì)算機(jī)原理及應(yīng)用
- Outlook時(shí)間管理秘笈