Skip to content

Commit 85d0602

Browse files
committed
more changes
1 parent 4be1be3 commit 85d0602

File tree

2 files changed

+35
-13
lines changed

2 files changed

+35
-13
lines changed

articles/sql-database/includes/sql-database-create-single-database.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ You can create an Azure resource group, SQL server, and single database using th
7777

7878
To run the following code sample in Azure Cloud Shell, select **Try it** in the code sample title bar. When the Cloud Shell opens, select **Copy** in the code sample title bar, and paste the code sample into the Cloud Shell window. In the code, replace `<Subscription ID>` with your Azure Subscription ID, and for `$startIp` and `$endIP`, replace `0.0.0.0` with the public IP address of the computer you're using.
7979

80-
Follow the onscreen prompts to sign in to Azure and run the code. Make sure to record the generated server name and password so you can log in to your server and databases.
80+
Follow the onscreen prompts to sign in to Azure and run the code.
8181

8282
You can also use the Azure Cloud Shell from the Azure portal, by selecting the Cloud Shell icon on the top bar.
8383

8484
![Azure Cloud Shell](../media/sql-database-single-database-get-started/cloudshell.png)
8585

86-
The first time you use Cloud Shell, select **Bash** in the **Welcome** dialog. Subsequent sessions will use Azure CLI in a Bash environment, or you can select **Bash** from the Cloud Shell control bar.
86+
The first time you use Cloud Shell in the portal, select **Bash** in the **Welcome** dialog. Subsequent sessions will use Azure CLI in a Bash environment, or you can select **Bash** from the Cloud Shell control bar.
8787

88-
The following Azure CLI code creates an Azure resource group, SQL server, single database, and firewall rule for access to the server:
88+
The following Azure CLI code creates an Azure resource group, SQL server, single database, and firewall rule for access to the server. Make sure to record the generated resource group and server names, so you can manage these resources later.
8989

9090
```azurecli-interactive
9191
#!/bin/bash
@@ -161,15 +161,15 @@ You can create an Azure resource group, SQL server, and single database using Wi
161161

162162
To run the following code sample in the Azure Cloud Shell, select **Try it** in the code title bar. When the Cloud Shell opens, select **Copy** in the code sample title bar, and paste the code sample into the Cloud Shell window. In the code, replace `<Subscription ID>` with your Azure Subscription ID, and for `$startIp` and `$endIP`, replace `0.0.0.0` with the public IP address of the computer you're using.
163163

164-
Follow the onscreen prompts to sign in to Azure and run the code. Make sure to record the generated server name and password, so you can log in to your server and databases.
164+
Follow the onscreen prompts to sign in to Azure and run the code.
165165

166166
You can also use Azure Cloud Shell from the Azure portal, by selecting the Cloud Shell icon on the top bar.
167167

168168
![Azure Cloud Shell](../media/sql-database-single-database-get-started/cloudshell.png)
169169

170-
The first time you use Cloud Shell, select **PowerShell** on the **Welcome** dialog. Subsequent sessions will use PowerShell, or you can select it from the Cloud Shell control bar.
170+
The first time you use Cloud Shell from the portal, select **PowerShell** on the **Welcome** dialog. Subsequent sessions will use PowerShell, or you can select it from the Cloud Shell control bar.
171171

172-
The following PowerShell code creates an Azure resource group, SQL server, single database, and firewall rule for access to the server:
172+
The following PowerShell code creates an Azure resource group, SQL server, single database, and firewall rule for access to the server. Make sure to record the generated resource group and server names, so you can manage these resources later.
173173

174174
```powershell-interactive
175175
# Set variables for your server and database

articles/sql-database/sql-database-single-database-get-started.md

Lines changed: 29 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,14 +56,36 @@ Now you can use the built-in **Query editor** in the Azure portal to connect to
5656

5757
Keep the resource group, server, and single database to go on to the next steps, and learn how to connect and query your database with different methods.
5858

59-
When you're finished using these resources, you can delete them as follows:
59+
When you're finished using these resources, you can delete the resource group you created, which will also delete the server and single database within it.
6060

61-
1. From the left menu in the Azure portal, select **Resource groups**, and then select **myResourceGroup**.
62-
2. On your resource group page, select **Delete resource group**.
63-
3. Enter *myResourceGroup* in the field, and then select **Delete**.
61+
# [Portal](#tab/azure-portal)
6462

63+
To delete **myResourceGroup** and all its resources using the Azure portal:
64+
65+
1. From the portal, search for and select **Resource groups**, and then select **myResourceGroup** from the list.
66+
2. On the resource group page, select **Delete resource group**.
67+
3. Under **Type the resource group name**, enter *myResourceGroup*, and then select **Delete**.
68+
69+
# [Azure CLI](#tab/azure-cli)
70+
71+
To delete the resource group and all its resources, run the following Azure CLI command, using the name of your resource group:
72+
73+
```azurecli-interactive
74+
az group delete --name <your resource group>
75+
```
76+
77+
# [PowerShell](#tab/azure-powershell)
78+
79+
To delete the resource group and all its resources, run the following PowerShell cmdlet, using the name of your resource group:
80+
81+
```azurepowershell-interactive
82+
Remove-AzResourceGroup -Name <your resource group>
83+
```
84+
85+
---
6586
## Next steps
6687

67-
You can [connect and query](sql-database-connect-query.md) your database using several different tools and languages:
68-
- [Connect and query using SQL Server Management Studio](sql-database-connect-query-ssms.md)
69-
- [Connect and query using Azure Data Studio](https://docs.microsoft.com/sql/azure-data-studio/quickstart-sql-database?toc=/azure/sql-database/toc.json)
88+
[Connect and query](sql-database-connect-query.md) your database using different tools and languages:
89+
> [!div class="nextstepaction"]
90+
> [Connect and query using SQL Server Management Studio](sql-database-connect-query-ssms.md)
91+
> [Connect and query using Azure Data Studio](/sql/azure-data-studio/quickstart-sql-database?toc=/azure/sql-database/toc.json)

0 commit comments

Comments
 (0)