You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/sql-database/includes/sql-database-create-single-database.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,15 +77,15 @@ You can create an Azure resource group, SQL server, and single database using th
77
77
78
78
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.
79
79
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.
81
81
82
82
You can also use the Azure Cloud Shell from the Azure portal, by selecting the Cloud Shell icon on the top bar.
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.
87
87
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.
89
89
90
90
```azurecli-interactive
91
91
#!/bin/bash
@@ -161,15 +161,15 @@ You can create an Azure resource group, SQL server, and single database using Wi
161
161
162
162
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.
163
163
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.
165
165
166
166
You can also use Azure Cloud Shell from the Azure portal, by selecting the Cloud Shell icon on the top bar.
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.
171
171
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.
Copy file name to clipboardExpand all lines: articles/sql-database/sql-database-single-database-get-started.md
+29-7Lines changed: 29 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,14 +56,36 @@ Now you can use the built-in **Query editor** in the Azure portal to connect to
56
56
57
57
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.
58
58
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.
60
60
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)
64
62
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:
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