Skip to content

Commit bfdb1a4

Browse files
committed
Install notes
1 parent 078b12f commit bfdb1a4

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

samples/databases/adventure-works/README.md

+7-2
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,18 @@ Database design has progressed since AdventureWorks was first published. For a s
66

77
Note that AdventureWorks has not seen any significant changes since the 2012 version. The only differences between the various versions of AdventureWorks are the name of the database and the database compatibility level. To install the AdventureWorks databases with the database compatibility level of your SQL Server instance, you can install from a version-specific backup file or from an install script.
88

9+
## Prerequisites
10+
Filestream must be installed in your SQL Server instance.
911

1012
## Install from a script
1113

1214
The install scripts create the sample database to have the database compatibility of your current version of SQL Server. Each script generates the version-specific information based on your current instance of SQL Server. This means you can use either the AdventureWorks or AdventureWorksDW install script on any version of SQL Server including CTPs, SPs, and interim releases.
1315

16+
### Install notes
17+
When installing from a script, the default database name is AdventureWorks or AdventureWorksDW. If you want the version added to the name, edit the database name at the beginning of the script.
18+
19+
The oltp script drops an existing AdventureWorks database, and the data warehouse script drops an existing AdventureWorksDW. If you don't want that to happen, you can update the $(DatabaseName) in the script to a different name, for example AdventureWorks-new.
20+
1421
### To install AdventureWorks
1522

1623
1. Copy the GitHub data files and scripts for [AdventureWorks](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/adventure-works/oltp-install-script) to the C:\Samples\AdventureWorks folder on your local client.
@@ -23,8 +30,6 @@ The install scripts create the sample database to have the database compatibilit
2330
2. Or, [download AdventureWorksDW-data-warehouse-install-script.zip](https://github.com/Microsoft/sql-server-samples/releases/download/adventureworks/AdventureWorksDW-data-warehouse-install-script.zip) and extract the zip file to the C:\Samples\AdventureWorksDW folder.
2431
3. Open C:\Samples\AdventureWorksDW\instawdbdw.sql in SQL Server Management Studio and follow the instructions at the top of the file.
2532

26-
When installing from a script, the default database name is AdventureWorks or AdventureWorksDW. If you want the version added to the name, edit the database name at the beginning of the script.
27-
2833
## Install from a backup
2934

3035
Download backup files from [AdventureWorks samples databases](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks) on GitHub.

0 commit comments

Comments
 (0)