Skip to content

Commit 3ae94fe

Browse files
committed
Refresh wide-world-importers-dw-install-configure and include PR 27877
1 parent fa003a5 commit 3ae94fe

1 file changed

Lines changed: 41 additions & 36 deletions

File tree

Lines changed: 41 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,74 @@
11
---
2-
title: "Install & configure DW WideWorldImporters sample database"
2+
title: "Install & configure WideWorldImportersDW sample database"
33
description: Follow these instructions to download, install, and configure the WideWorldImportersDW sample database with SQL Server Management Studio.
44
author: MashaMSFT
55
ms.author: mathoma
6-
ms.date: "08/04/2018"
6+
ms.reviewer: randolphwest
7+
ms.date: 08/01/2023
78
ms.service: sql
89
ms.subservice: samples
910
ms.topic: conceptual
1011
ms.custom: intro-installation
11-
monikerRange: ">=sql-server-2016||>=sql-server-linux-2017||=azure-sqldw-latest||>=aps-pdw-2016||=azuresqldb-mi-current"
12+
monikerRange: ">=sql-server-2016 || >=sql-server-linux-2017 || =azure-sqldw-latest || >=aps-pdw-2016 || =azuresqldb-mi-current"
1213
---
13-
# WideWorldImportersDW Installation and configuration
14-
[!INCLUDE[appliesto-ss-xxxx-asdw-pdw-md](../includes/appliesto-ss-xxxx-asdw-pdw-md.md)]
15-
Installation and configuration instructions for the WideWorldImportersDW database.
14+
# Install and configure WideWorldImportersDW sample database
1615

17-
- [SQL Server 2016](https://www.microsoft.com/evalcenter/evaluate-sql-server-2016) (or later) or [Azure SQL Database](https://azure.microsoft.com/services/sql-database/). To use the Full version of the sample, use SQL Server Evaluation/Developer/Enterprise Edition.
18-
- [SQL Server Management Studio](../ssms/download-sql-server-management-studio-ssms.md). For the best results use the June 2016 release or later.
16+
[!INCLUDE [sql-asdb-asdbmi-asa-pdw](../includes/applies-to-version/sql-asdb-asdbmi-asa-pdw.md)]
1917

20-
## Download
18+
This article contains installation and configuration instructions for the `WideWorldImportersDW` database.
19+
20+
## Prerequisites
21+
22+
- [SQL Server 2016](https://www.microsoft.com/evalcenter/evaluate-sql-server-2016) with Service Pack 1 (and later versions), or [!INCLUDE [ssazure-sqldb](../includes/ssazure-sqldb.md)]. To use the full version of the sample, use [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Developer or Enterprise editions.
2123

22-
The latest release of the sample:
24+
- [SQL Server Management Studio](../ssms/download-sql-server-management-studio-ssms.md) (SSMS).
2325

24-
[wide-world-importers-release](https://go.microsoft.com/fwlink/?LinkID=800630)
26+
## Download
2527

26-
Download the sample WideWorldImportersDW database backup/bacpac that corresponds to your edition of SQL Server or Azure SQL Database.
28+
Download the sample `WideWorldImportersDW` database backup/BACPAC that corresponds to your edition of [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] or [!INCLUDE [ssazure-sqldb](../includes/ssazure-sqldb.md)].
2729

28-
Source code to recreate the sample database is available from the following location. Note that data population is based on ETL from the OLTP database (WideWorldImporters):
30+
The latest release of the sample is available from [wide-world-importers-release](https://go.microsoft.com/fwlink/?LinkID=800630).
2931

30-
[wide-world-importers-source](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/wide-world-importers/sample-scripts)
32+
Source code to recreate the sample database is available from [wide-world-importers-source](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/wide-world-importers/sample-scripts). Data population is based on ETL from the OLTP database (`WideWorldImporters`).
3133

3234
## Install
3335

36+
You can use SSMS to restore a backup to [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)], or import a BACPAC into a new Azure SQL database.
3437

35-
### SQL Server
38+
### [SQL Server](#tab/sql-server)
3639

37-
To restore a backup to a SQL Server instance, you can use Management Studio.
40+
Restore a backup to a [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instance using SSMS:
3841

39-
1. Open SQL Server Management Studio and connect to the target SQL Server instance.
40-
2. Right-click on the **Databases** node, and select **Restore Database**.
41-
3. Select **Device** and click on the button **...**
42-
4. In the dialog **Select backup devices**, click **Add**, navigate to the database backup in the filesystem of the server, and select the backup. Click **OK**.
43-
5. If needed, change the target location for the data and log files, in the **Files** pane. Note that it is best practice to place data and log files on different drives.
44-
6. Click **OK**. This will initiate the database restore. After it completes, you will have the database WideWorldImporters installed on your SQL Server instance.
42+
1. Open SSMS and connect to the target [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instance.
43+
1. Right-click on the **Databases** node, and select **Restore Database**.
44+
1. Select **Device** and select the ellipses button (**...**).
45+
1. In the dialog **Select backup devices**, select **Add**, navigate to the database backup in the filesystem of the server, and select the backup. Select **OK**.
46+
1. If needed, change the target location for the data and log files, in the **Files** pane. It is best practice to place data and log files on different drives.
47+
1. Select **OK**. This step initiates the database restore. After it completes, you will have the database `WideWorldImporters` installed on your [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] instance.
4548

46-
### Azure SQL Database
49+
### [Azure SQL Database](#tab/sql-database)
4750

48-
To import a bacpac into a new SQL Database, you can use Management Studio.
51+
Import a BACPAC into a new Azure SQL database, using SSMS:
4952

50-
1. (optional) If you do not yet have a SQL Server in Azure, navigate to the [Azure portal](https://portal.azure.com/) and create a new SQL Database. In the process of create a database, you will create a server. Make note of the server.
53+
1. *(optional)* If you don't yet have a [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] in Azure, navigate to the [Azure portal](https://portal.azure.com/) and create a new SQL database. In the process of creating a database, you create a server. Make note of the server.
5154
- See [this quickstart](/azure/azure-sql/database/single-database-create-quickstart) to create a database in minutes.
52-
2. Open SQL Server Management Studio and connect to your server in Azure.
53-
3. Right-click on the **Databases** node, and select **Import Data-Tier Application**.
54-
4. In the **Import Settings** select **Import from local disk** and select the bacpac of the sample database from your file system.
55-
5. Under **Database Settings** change the database name to *WideWorldImportersDW* and select the target edition and service objective to use.
56-
6. Click **Next** and **Finish** to kick off deployment. It will take a few minutes to complete. When specifying a service objective lower than S2 it may take longer.
55+
1. Open SSMS and connect to your server in Azure.
56+
1. Right-click on the **Databases** node, and select **Import Data-Tier Application**.
57+
1. In the **Import Settings**, select **Import from local disk** and select the BACPAC of the sample database from your file system.
58+
1. Under **Database Settings** change the database name to `WideWorldImportersDW` and select the target edition and service objective to use.
59+
1. Select **Next** and **Finish** to kick off deployment. It takes a few minutes to complete. When you specify a service objective lower than S2, it may take longer.
60+
61+
---
5762

58-
## Configuration
63+
## Configure PolyBase
5964

60-
Applies to [!INCLUDE[sssql16-md](../includes/sssql16-md.md)] (and later) Developer/Evaluation/Enterprise Edition
65+
**Applies to:** [!INCLUDE [sssql16-md](../includes/sssql16-md.md)] and later versions, Developer and Enterprise edition
6166

62-
The sample database can make use of PolyBase to query files in Hadoop or Azure Blob Storage. However, that feature is not installed by default with SQL Server - you need to select it during SQL Server setup. Therefore, a post-installation step is required.
67+
The sample database can make use of PolyBase to query files in Hadoop or Azure Blob Storage. However, that feature isn't installed by default with [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)]; you need to select it during [!INCLUDE [ssnoversion-md](../includes/ssnoversion-md.md)] Setup. Therefore, a post-installation step is required.
6368

64-
1. In SQL Server Management Studio, connect to the WideWorldImportersDW database and open a new query window.
65-
2. Run the following T-SQL command to enable the use of PolyBase in the database:
69+
1. In SSMS, connect to the `WideWorldImportersDW` database and open a new query window.
70+
1. Run the following Transact-SQL command to enable the use of PolyBase in the database:
6671

67-
```tsql
72+
```sql
6873
EXECUTE [Application].[Configuration_ApplyPolyBase];
6974
```

0 commit comments

Comments
 (0)