Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 22102f2

Browse files
authored
Merge pull request #17571 from MicrosoftDocs/master
10/15 PM Publish
2 parents 9774e2c + d651872 commit 22102f2

59 files changed

Lines changed: 274 additions & 276 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 KB
Loading
91.9 KB
Loading
-22.9 KB
Loading
78.5 KB
Loading

docs/azure-data-studio/quickstart-sql-dw.md

Lines changed: 25 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
---
22
title: Connect and query with Azure Synapse Analytics
3-
description: This quickstart shows how to use Azure Data Studio to connect to using dedicated SQL pool in Azure Synapse Analytics and run a query.
3+
description: This quickstart shows connecting to a dedicated SQL pool in Azure Synapse Analytics using Azure Data Studio.
44
ms.prod: azure-data-studio
55
ms.technology: azure-data-studio
6-
ms.reviewer: "alayu, maghan, sstein"
76
ms.topic: quickstart
87
author: yualan
98
ms.author: alayu
9+
ms.reviewer: alayu, jrasnick
1010
ms.custom: seodec18; seo-lt-2019
11-
ms.date: 09/24/2018
11+
ms.date: 10/15/2020
1212
---
1313

1414
# Quickstart: Use Azure Data Studio to connect and query data using dedicated SQL pool in Azure Synapse Analytics
1515

16-
This quickstart demonstrates how to use Azure Data Studio to connect to using dedicated SQL pool in Azure Synapse Analytics, and then use Transact-SQL statements to create, insert, and select data.
16+
This quickstart shows connecting to a dedicated SQL pool in Azure Synapse Analytics using Azure Data Studio.
1717

1818
## Prerequisites
1919
To complete this quickstart, you need Azure Data Studio, and a dedicated SQL pool in Azure Synapse Analytics.
2020

21-
- [Install Azure Data Studio](./download-azure-data-studio.md?view=sql-server-ver15).
21+
- [Install Azure Data Studio](./download-azure-data-studio.md).
2222

2323
If you don't already have a dedicated SQL pool, see [Create a dedicated SQL pool](/azure/sql-data-warehouse/sql-data-warehouse-get-started-provision).
2424

@@ -29,34 +29,31 @@ Remember the server name, and login credentials!
2929

3030
Use Azure Data Studio to establish a connection to your Azure Synapse Analytics server.
3131

32-
1. The first time you run Azure Data Studio the **Connection** page should open. If you don't see the **Connection** page, click **Add Connection**, or the **New Connection** icon in the **SERVERS** sidebar:
32+
1. The first time you run Azure Data Studio the **Connection** page should open. If you don't see the **Connection** page, select **Add Connection**, or the **New Connection** icon in the **SERVERS** sidebar:
3333

3434
![New Connection Icon](media/quickstart-sql-dw/new-connection-icon.png)
3535

3636
2. This article uses *SQL Login*, but *Windows Authentication* is also supported. Fill in the fields as follows using the server name, user name, and password for *your* Azure SQL server:
3737

38-
| Setting | Suggested value | Description |
39-
| ------------ | ------------------ | ------------------------------------------------- |
40-
| **Server name** | The fully qualified server name | The name should be something like this: **sqldwsample.database.windows.net** |
38+
| Setting | Suggested value | Description |
39+
|--------------|-----------------|-------------|
40+
| **Server name** | The fully qualified server name | For example the name should look like to this: **sqlpoolservername.database.windows.net**. |
4141
| **Authentication** | SQL Login| SQL Authentication is used in this tutorial. |
4242
| **User name** | The server admin account | This is the account that you specified when you created the server. |
4343
| **Password (SQL Login)** | The password for your server admin account | This is the password that you specified when you created the server. |
44-
| **Save Password?** | Yes or No | Select Yes if you do not want to enter the password each time. |
44+
| **Save Password?** | Yes or No | Select Yes if you don't want to enter the password each time. |
4545
| **Database name** | *leave blank* | The name of the database to which to connect. |
4646
| **Server Group** | Select <Default> | If you created a server group, you can set to a specific server group. |
4747

48-
![New Connection Icon](media/quickstart-sql-dw/new-connection-screen.png)
49-
5048
3. If your server doesn't have a firewall rule allowing Azure Data Studio to connect, the **Create new firewall rule** form opens. Complete the form to create a new firewall rule. For details, see [Firewall rules](/azure/sql-database/sql-database-firewall-configure).
5149

52-
![New firewall rule](media/quickstart-sql-dw/firewall.png)
53-
5450
4. After successfully connecting your server opens in the *Servers* sidebar.
5551

56-
## Create the tutorial dedicated SQL pool
57-
1. Right click on your server, in the object explorer and select **New Query.**
52+
## Create a database in your dedicated SQL pool
53+
54+
1. Right-click on your server, in the object explorer and select **New Query.**
5855

59-
1. Paste the following snippet into the query editor and click **Run**:
56+
2. Paste the following snippet into the query editor and select **Run**:
6057

6158
```sql
6259
IF NOT EXISTS (
@@ -71,20 +68,16 @@ Use Azure Data Studio to establish a connection to your Azure Synapse Analytics
7168
GO
7269
```
7370

74-
7571
## Create a table
7672

7773
The query editor is still connected to the *master* database, but we want to create a table in the *TutorialDB* database.
7874

7975
1. Change the connection context to **TutorialDB**:
8076

81-
![Change context](media/quickstart-sql-database/change-context.png)
82-
83-
84-
1. Paste the following snippet into the query editor and click **Run**:
77+
2. Paste the following snippet into the query editor and select **Run**:
8578

8679
> [!NOTE]
87-
> You can append this to, or overwrite the previous query in the editor. Note that clicking **Run** executes only the query that is selected. If nothing is selected, clicking **Run** executes all queries in the editor.
80+
> You can append this to, or overwrite the previous query in the editor. Note that selecting **Run** executes only the query that is selected. If nothing is selected, selecting **Run** executes all queries in the editor.
8881
8982
```sql
9083
-- Create a new table called 'Customers' in schema 'dbo'
@@ -103,10 +96,12 @@ The query editor is still connected to the *master* database, but we want to cre
10396
GO
10497
```
10598

99+
:::image type="content" source="media/quickstart-sql-dw/create-table.png" alt-text="Create a table in the TutorialDB database":::
100+
106101

107102
## Insert rows
108103

109-
1. Paste the following snippet into the query editor and click **Run**:
104+
1. Paste the following snippet into the query editor and select **Run**:
110105

111106
```sql
112107
-- Insert rows into table 'Customers'
@@ -118,25 +113,25 @@ The query editor is still connected to the *master* database, but we want to cre
118113
SELECT 4, N'Janet', N'United States', N'janet1@adventure-works.com'
119114
```
120115

116+
:::image type="content" source="media/quickstart-sql-dw/create-rows.png" alt-text="Create rows in the table":::
121117

122118
## View the result
123-
1. Paste the following snippet into the query editor and click **Run**:
119+
120+
1. Paste the following snippet into the query editor and select **Run**:
124121

125122
```sql
126123
-- Select rows from table 'Customers'
127124
SELECT * FROM dbo.Customers;
128125
```
129126

130-
1. The results of the query are displayed:
127+
2. The results of the query are displayed:
131128

132-
![Select results](media/quickstart-sql-dw/select-results.png)
129+
:::image type="content" source="media/quickstart-sql-dw/view-results.png" alt-text="View the results":::
133130

134131

135132
## Clean up resources
136133

137-
Other articles in this collection build upon this quickstart. If you plan to continue on to work with subsequent quickstarts, do not clean up the resources created in this quickstart. If you do not plan to continue, use the following steps to delete resources created by this quickstart in the Azure portal.
138-
Clean up resources by deleting the resource groups you no longer need. For details, see [Clean up resources](/azure/sql-database/sql-database-get-started-portal#clean-up-resources).
139-
134+
If you don't plan to continue working with the sample databases created in this article, then [delete the resource group](/azure/azure/synapse-analytics/sql-data-warehouse/create-data-warehouse-portal#clean-up-resources).
140135

141136
## Next steps
142137

docs/linux/new-to-linux-learning-resources.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ landingContent:
2020
- text: Introduction to Linux
2121
url: new-to-linux-resources.md
2222
- text: "Learn: SQL Server on Linux"
23-
url: https://docs.microsoft.com/learn/modules/introduction-sql-server-linux/
23+
url: /learn/modules/introduction-sql-server-linux/
2424
- text: "Channel 9 - How SQL Server runs on Linux (optional)"
2525
url: https://channel9.msdn.com/Shows/Data-Exposed/SQL-Server-on-Linux-The-HOW?term=sql%20server%20on%20Linux&lang-en=true
2626
- text: "Channel 9 - SQL Server on Linux (optional)"
@@ -99,4 +99,4 @@ landingContent:
9999
- text: DMVs
100100
url: ../relational-databases/system-dynamic-management-views/system-dynamic-management-views.md
101101
- text: Additional learning - Performance features of SQL Server on Linux
102-
url: sql-server-linux-performance-get-started.md
102+
url: sql-server-linux-performance-get-started.md

docs/linux/quickstart-install-connect-clouds.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.assetid:
1313
# Quickstart: Run SQL Server in the cloud
1414
[!INCLUDE [SQL Server - Linux](../includes/applies-to-version/sql-linux.md)]
1515

16-
In this quickstart, you will install SQL Server on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), or Ubuntu in the cloud of your choice. Go to [Provision a Linux SQL Server virtual machine in the Azure portal](https://docs.microsoft.com/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=/sql/toc/toc.json) to run SQL Server on Linux in Azure.
16+
In this quickstart, you will install SQL Server on Red Hat Enterprise Linux (RHEL), SUSE Linux Enterprise Server (SLES), or Ubuntu in the cloud of your choice. Go to [Provision a Linux SQL Server virtual machine in the Azure portal](/azure/virtual-machines/linux/sql/provision-sql-server-linux-virtual-machine?toc=%252fsql%252ftoc%252ftoc.json) to run SQL Server on Linux in Azure.
1717

1818
> [!NOTE]
1919
> If you choose to run a paid edition of SQL Server, then you need to bring your own license (BYOL).
@@ -56,4 +56,4 @@ In this quickstart, you will install SQL Server on Red Hat Enterprise Linux (RHE
5656
* [Ubuntu](quickstart-install-connect-ubuntu.md)
5757
1. Configure for remote connections:
5858
* Go to the [Firewall Rules](https://console.cloud.google.com/networking/firewalls)
59-
* Add an inbound rule to allow traffic on the port on which SQL Server listens (default tcp: 1433)
59+
* Add an inbound rule to allow traffic on the port on which SQL Server listens (default tcp: 1433)

docs/linux/quickstart-install-connect-docker.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ Before starting the following steps, make sure that you have selected your prefe
127127
> [!NOTE]
128128
> The password should follow the SQL Server default password policy, otherwise the container can not setup SQL server and will stop working. By default, the password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols. You can examine the error log by executing the [docker logs](https://docs.docker.com/engine/reference/commandline/logs/) command.
129129
>
130-
> By default, this creates a container with the Developer edition of SQL Server 2017. The process for running production editions in containers is slightly different. For more information, see [Run production container images](sql-server-linux-configure-docker.md#production).
130+
> By default, this creates a container with the Developer edition of SQL Server 2017. The process for running production editions in containers is slightly different. For more information, see [Run production container images](./sql-server-linux-docker-container-deployment.md#production).
131131
132132
The following table provides a description of the parameters in the previous `docker run` example:
133133

@@ -166,7 +166,7 @@ Before starting the following steps, make sure that you have selected your prefe
166166

167167
![Docker ps command output](./media/sql-server-linux-setup-docker/docker-ps-command.png)
168168

169-
4. If the **STATUS** column shows a status of **Up**, then SQL Server is running in the container and listening on the port specified in the **PORTS** column. If the **STATUS** column for your SQL Server container shows **Exited**, see the [Troubleshooting section of the configuration guide](sql-server-linux-configure-docker.md#troubleshooting).
169+
4. If the **STATUS** column shows a status of **Up**, then SQL Server is running in the container and listening on the port specified in the **PORTS** column. If the **STATUS** column for your SQL Server container shows **Exited**, see the [Troubleshooting section of the configuration guide](./sql-server-linux-docker-container-troubleshooting.md).
170170

171171
The `-h` (host name) parameter as discussed above, changes the internal name of the container to a custom value. This is the name you'll see returned in the following Transact-SQL query:
172172

@@ -218,7 +218,7 @@ Before starting the following steps, make sure that you have selected your prefe
218218
> [!TIP]
219219
> This quickstart uses the SQL Server 2019 Docker image. If you want to run the SQL Server 2017 image, see the [SQL Server 2017 version of this article](quickstart-install-connect-docker.md?view=sql-server-linux-2017#pullandrun2017).
220220
221-
The previous command pulls the SQL Server 2019 container image based on Ubuntu. To instead use container images based on RedHat, see [Run RHEL-based container images](sql-server-linux-configure-docker.md#rhel). To see all available images, see [the mssql-server-linux Docker hub page](https://hub.docker.com/_/microsoft-mssql-server).
221+
The previous command pulls the SQL Server 2019 container image based on Ubuntu. To instead use container images based on RedHat, see [Run RHEL-based container images](./sql-server-linux-docker-container-deployment.md#rhel). To see all available images, see [the mssql-server-linux Docker hub page](https://hub.docker.com/_/microsoft-mssql-server).
222222

223223
::: zone pivot="cs1-bash"
224224
For the bash commands in this article, `sudo` is used. On macOS, `sudo` might not be required. On Linux, if you do not want to use `sudo` to run Docker, you can configure a **docker** group and add users to that group. For more information, see [Post-installation steps for Linux](https://docs.docker.com/install/linux/linux-postinstall/).
@@ -495,7 +495,7 @@ The following steps use **sqlcmd** outside of your container to connect to SQL S
495495

496496
Other common tools to connect to SQL Server include:
497497

498-
- [Visual Studio Code](sql-server-linux-develop-use-vscode.md)
498+
- [Visual Studio Code](../tools/visual-studio-code/sql-server-develop-use-vscode.md)
499499
- [SQL Server Management Studio (SSMS) on Windows](sql-server-linux-manage-ssms.md)
500500
- [Azure Data Studio](../azure-data-studio/what-is.md)
501501
- [mssql-cli (Preview)](https://github.com/dbcli/mssql-cli/blob/master/doc/usage_guide.md)
@@ -539,4 +539,4 @@ After you have tried using the SQL Server container image for Docker, you might
539539

540540
For a tutorial on how to restore database backup files into a container, see [Restore a SQL Server database in a Linux Docker container](tutorial-restore-backup-in-sql-server-container.md). Explore other scenarios, such as running [multiple containers](sql-server-linux-docker-container-deployment.md#multiple), [data persistence](sql-server-linux-docker-container-configure.md#persist), and [troubleshooting](sql-server-linux-docker-container-troubleshooting.md).
541541

542-
Also, check out the [mssql-docker GitHub repository](https://github.com/Microsoft/mssql-docker) for resources, feedback, and known issues.
542+
Also, check out the [mssql-docker GitHub repository](https://github.com/Microsoft/mssql-docker) for resources, feedback, and known issues.

docs/linux/quickstart-install-connect-red-hat.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ You must have a RHEL 7.3, 7.4, 7.5, 7.6, or 8.0 machine with **at least 2 GB** o
4747

4848
::: moniker-end
4949

50-
To install Red Hat Enterprise Linux on your own machine, go to [https://access.redhat.com/products/red-hat-enterprise-linux/evaluation](https://access.redhat.com/products/red-hat-enterprise-linux/evaluation). You can also create RHEL virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](https://docs.microsoft.com/azure/virtual-machines/linux/tutorial-manage-vm), and use `--image RHEL` in the call to `az vm create`.
50+
To install Red Hat Enterprise Linux on your own machine, go to [https://access.redhat.com/products/red-hat-enterprise-linux/evaluation](https://access.redhat.com/products/red-hat-enterprise-linux/evaluation). You can also create RHEL virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm), and use `--image RHEL` in the call to `az vm create`.
5151

5252
If you have previously installed a CTP or RC release of SQL Server, you must first remove the old repository before following these steps. For more information, see [Configure Linux repositories for SQL Server 2017 and 2019](sql-server-linux-change-repo.md).
5353

@@ -212,4 +212,4 @@ To create a database, you need to connect with a tool that can run Transact-SQL
212212
source ~/.bashrc
213213
```
214214

215-
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]
215+
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]

docs/linux/quickstart-install-connect-suse.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ You must have a SLES v12 SP2, SP3, SP4 or SP5 machine with **at least 2 GB** of
4848

4949
::: moniker-end
5050

51-
To install SUSE Linux Enterprise Server on your own machine, go to [https://www.suse.com/products/server](https://www.suse.com/products/server). You can also create SLES virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](https://docs.microsoft.com/azure/virtual-machines/linux/tutorial-manage-vm), and use `--image SLES` in the call to `az vm create`.
51+
To install SUSE Linux Enterprise Server on your own machine, go to [https://www.suse.com/products/server](https://www.suse.com/products/server). You can also create SLES virtual machines in Azure. See [Create and Manage Linux VMs with the Azure CLI](/azure/virtual-machines/linux/tutorial-manage-vm), and use `--image SLES` in the call to `az vm create`.
5252

5353
If you have previously installed a CTP or RC release of SQL Server, you must first remove the old repository before following these steps. For more information, see [Configure Linux repositories for SQL Server 2017 and 2019](sql-server-linux-change-repo.md).
5454

5555
> [!NOTE]
56-
> At this time, the [Windows Subsystem for Linux](https://msdn.microsoft.com/commandline/wsl/about) for Windows 10 is not supported as an installation target.
56+
> At this time, the [Windows Subsystem for Linux](/windows/wsl/about) for Windows 10 is not supported as an installation target.
5757
5858
For other system requirements, see [System requirements for SQL Server on Linux](sql-server-linux-setup.md#system).
5959

@@ -204,4 +204,4 @@ To create a database, you need to connect with a tool that can run Transact-SQL
204204
source ~/.bashrc
205205
```
206206

207-
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]
207+
[!INCLUDE [Connect, create, and query data](../includes/sql-linux-quickstart-connect-query.md)]

0 commit comments

Comments
 (0)