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
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.reviewer: v-thepet
10
10
11
11
In this step, you create an Azure SQL Database server and a single database that uses AdventureWorksLT sample data. You can create the database by using Azure portal menus and screens, or by using an Azure CLI or PowerShell script in the Azure Cloud Shell.
12
12
13
-
All the methods include setting up a server-level firewall rule to let the public IP address of the computer you're using access the server. For more information about server firewall rules, see [Create a server-level firewall](../sql-database-server-level-firewall-rule.md). You can also set database-level firewall rules. See [Create a database-level firewall rule](/sql/relational-databases/system-stored-procedures/sp-set-database-firewall-rule-azure-sql-database).
13
+
All the methods include setting up a server-level firewall rule to let the public IP address of the computer you're using access the server. For more information about creating server firewall rules, see [Create a server-level firewall](../sql-database-server-level-firewall-rule.md). You can also set database-level firewall rules. See [Create a database-level firewall rule](/sql/relational-databases/system-stored-procedures/sp-set-database-firewall-rule-azure-sql-database).
14
14
15
15
# [Portal](#tab/azure-portal)
16
16
@@ -36,6 +36,7 @@ To create a resource group, SQL server, and single database in the Azure portal:
36
36
-**Server admin login**: Enter *azureuser*.
37
37
-**Password**: Enter a password that meets requirements, and enter it again in the **Confirm password** field.
38
38
-**Location**: Drop down and choose a location, such as **(US) East US**.
1. Select **Review + create** at the bottom of the page.
68
70
1. After reviewing settings, select **Create**.
69
71
70
-
[Allow Azure services and resources to access this server](../sql-database-networkaccess-overview.md)
71
-
[Add a private endpoint](../../private-link/private-endpoint-overview.md).
72
+
For more information about firewall settings, see [Allow Azure services and resources to access this server](../sql-database-networkaccess-overview.md) and [Add a private endpoint](../../private-link/private-endpoint-overview.md).
72
73
73
74
# [PowerShell](#tab/azure-powershell)
74
75
75
-
You can create an Azure resource group, SQL server, and single database using Windows PowerShell. If you don't want to use the Azure Cloud Shell, [install the Azure PowerShell module](powershell/azure/install-az-ps).
76
+
You can create an Azure resource group, SQL server, and single database using Windows PowerShell. If you don't want to use the Azure Cloud Shell, [install the Azure PowerShell module](/powershell/azure/install-az-ps).
@@ -151,9 +152,11 @@ The preceding code uses the following PowerShell cmdlets:
151
152
|[New-AzSqlServerFirewallRule](/powershell/module/az.sql/new-azsqlserverfirewallrule)| Creates a firewall rule for a logical server. |
152
153
|[New-AzSqlDatabase](/powershell/module/az.sql/new-azsqldatabase)| Creates an Azure SQL Database single database. |
153
154
155
+
For more Azure SQL Database samples using Azure PowerShell, see [Azure PowerShell samples](sql-database-powershell-samples.md).
156
+
154
157
# [Azure CLI](#tab/azure-cli)
155
158
156
-
You can create an Azure resource group, SQL server, and single database using the Azure command-line interface (Azure CLI). If you don't want to use the Azure Cloud Shell, [install Azure CLI](powershell/azure/install-az-ps) on your computer.
159
+
You can create an Azure resource group, SQL server, and single database using the Azure command-line interface (Azure CLI). If you don't want to use the Azure Cloud Shell, [install Azure CLI](/cli/azure/install-azure-cli) on your computer.
157
160
158
161
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.
159
162
@@ -227,4 +230,5 @@ The preceding code uses these Azure CLI commands:
227
230
|[az sql server firewall-rule create](/cli/azure/sql/server/firewall-rule)| Creates a server's firewall rules. |
228
231
|[az sql db create](/cli/azure/sql/db?view=azure-cli-latest)| Creates a database. |
229
232
233
+
For more Azure SQL Database Azure CLI samples, see [Azure CLI samples](sql-database-cli-samples.md).
Copy file name to clipboardExpand all lines: articles/sql-database/sql-database-single-database-get-started.md
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,18 +14,18 @@ ms.date: 03/06/2020
14
14
---
15
15
# Quickstart: Create an Azure SQL Database single database
16
16
17
-
In this quickstart, you use the Azure portal, a PowerShell script, or an Azure CLI script to create an Azure SQL Database single database. You then query the database using **Query editor** in the Azure portal. A [single database](sql-database-single-database.md) is the quickest and simplest deployment option for Azure SQL Database.
17
+
In this quickstart, you use the Azure portal, a PowerShell script, or an Azure CLI script to create an Azure SQL Database single database. You then query the database using **Query editor** in the Azure portal.
18
18
19
-
You manage a single database within a [SQL Database server](sql-database-servers.md), which is inside an [Azure resource group](../azure-resource-manager/management/overview.md) in a specified Azure region. In this quickstart, you create a new resource group and SQL server for the new database.
19
+
A [single database](sql-database-single-database.md) is the quickest and simplest deployment option for Azure SQL Database. You manage a single database within a [SQL Database server](sql-database-servers.md), which is inside an [Azure resource group](../azure-resource-manager/management/overview.md) in a specified Azure region. In this quickstart, you create a new resource group and SQL server for the new database.
20
20
21
-
You can create a single database in the *provisioned* or *serverless* compute tier. A provisioned database is pre-allocated a fixed amount of compute resources, including CPU and memory, and uses one of two [purchasing models](sql-database-purchase-models.md). This quickstart creates a provisioned database using the [vCore-based](sql-database-service-tiers-vcore.md) purchasing model, but you can also choose a [DTU-based](sql-database-service-tiers-DTU.md) model. The serverless compute tier has a range of compute resources, including CPU and memory, that are auto-scaled, and is only available in the vCore-based purchasing model.
21
+
You can create a single database in the *provisioned* or *serverless* compute tier. A provisioned database is pre-allocated a fixed amount of compute resources, including CPU and memory, and uses one of two [purchasing models](sql-database-purchase-models.md). This quickstart creates a provisioned database using the [vCore-based](sql-database-service-tiers-vcore.md) purchasing model, but you can also choose a [DTU-based](sql-database-service-tiers-DTU.md) model.
22
+
23
+
The serverless compute tier is only available in the vCore-based purchasing model, and has an auto-scaled range of compute resources, including CPU and memory. To create a single database in the serverless compute tier, see [Create a serverless database](sql-database-serverless.md#create-new-database-in-serverless-compute-tier).
22
24
23
25
This quickstart requires an active Azure subscription. If you don't have one, [create a free account](https://azure.microsoft.com/free/).
24
26
25
27
## Create a single database
26
28
27
-
To create a single database containing the AdventureWorksLT sample data:
@@ -64,10 +64,6 @@ When you're finished using these resources, you can delete them as follows:
64
64
65
65
## Next steps
66
66
67
-
- Create a server-level firewall rule to connect to the single database from on-premises or remote tools. For more information, see [Create a server-level firewall rule](sql-database-server-level-firewall-rule.md).
68
-
- After you create a server-level firewall rule, [connect and query](sql-database-connect-query.md) your database using several different tools and languages.
67
+
You can [connect and query](sql-database-connect-query.md) your database using several different tools and languages:
69
68
-[Connect and query using SQL Server Management Studio](sql-database-connect-query-ssms.md)
70
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)
71
-
- To create a single database in the provisioned compute tier using Azure CLI, see [Azure CLI samples](sql-database-cli-samples.md).
72
-
- To create a single database in the provisioned compute tier using Azure PowerShell, see [Azure PowerShell samples](sql-database-powershell-samples.md).
73
-
- To create a single database in the serverless compute tier using Azure Powershell, see [Create serverless database](sql-database-serverless.md#create-new-database-in-serverless-compute-tier).
0 commit comments