diff --git a/samples/databases/wide-world-importers/wwi-dw-ssdt/README.md b/samples/databases/wide-world-importers/wwi-dw-ssdt/README.md index 4f592e47..90c63639 100644 --- a/samples/databases/wide-world-importers/wwi-dw-ssdt/README.md +++ b/samples/databases/wide-world-importers/wwi-dw-ssdt/README.md @@ -62,9 +62,17 @@ The below steps reconstruct the WideWorldImportersDW database. To populate the d 4. Execute the SQL Server Integration Services package **Daily ETL** once, to seed the WideWorldImportersDW database based on the contents of the WideWorldImporters database. For instructions on how to install and run this package see [wwi-ssis] (../wwi-ssis/). + ### Publishing to Azure SQL Database -TBD +To publish the database to Azure SQL Database, complete the following steps after Step 1 in the previous section: + +A. Update the partition scheme `Storage\PS_Date.sql` as follows: replace every occurrence of `USERDATA` with `PRIMARY`. +B. Delete the filegroups `Storage\USERDATA.sql` and `Storage\WWI_MemoryOptimized_Date.sql`. +C. Right-click the project **WideWorldImportersDW** and select **Properties** to open the properties pane. +D. Change the **Target Platform** to **Microsoft Azure SQL Database v12**, and press **Ctrl-S** to save. + +Continue with Step 2 above. diff --git a/samples/databases/wide-world-importers/wwi-ssdt/README.md b/samples/databases/wide-world-importers/wwi-ssdt/README.md index db46c1e7..96a1ae65 100644 --- a/samples/databases/wide-world-importers/wwi-ssdt/README.md +++ b/samples/databases/wide-world-importers/wwi-ssdt/README.md @@ -83,7 +83,14 @@ You can configure the amount of data produced by modifying the number of orders ### Publishing to Azure SQL Database -TBD +To publish the database to Azure SQL Database, complete the following steps after Step 1 in the previous section: + +A. Update the partition schemes `Storage\PS_TransactionDate.sql` and `Storage\PS_TransactionDateTime.sql` as follows: replace every occurrence of `USERDATA` with `PRIMARY`. +B. Delete the filegroups `Storage\USERDATA.sql` and `Storage\WWI_MemoryOptimized_Date.sql`. +C. Right-click the project **WideWorldImporters** and select **Properties** to open the properties pane. +D. Change the **Target Platform** to **Microsoft Azure SQL Database v12**, and press **Ctrl-S** to save. + +Continue with Step 2 above.