Skip to content

Commit 78826db

Browse files
authored
Merge pull request #319 from barbkess/blk2
update readme
2 parents 0dd4b7b + 9a5a5dd commit 78826db

File tree

1 file changed

+9
-48
lines changed

1 file changed

+9
-48
lines changed
Lines changed: 9 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,21 @@
11
# AdventureWorks Readme
22

3-
These instructions install AdventureWorks from the source scripts in this Git repo. The repo contains source files for the AdventureWorks databases for SQL Server 2008R2, 2012, and 2014.
3+
The AdventureWorks databases are sample databases that were originally published for SQL Server 2008. There are two core sample databases. AdventureWorks is the OLTP sample, and AdventureWorksDW is the data warehouse sample. For some versions of SQL Server, there are additional releases that are intended as one-time only.
44

5-
For the complete set of downloads and install options, see these releases:
5+
To install the AdventureWorks databases with the database compatibility level of your SQL Server instance, you can do use either install from a backup file or a script.
6+
7+
## Install from a backup
8+
9+
For the complete set of downloads, see these releases:
610

711
- [AdventureWorks for Analysis Services](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks-analysis-services)
812
- [AdventureWorks2016](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks2016)
913
- [AdventureWorks2014](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks2014)
1014
- [AdventureWorks2012](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks2012)
1115
- [AdventureWorks2008r2](https://github.com/Microsoft/sql-server-samples/releases/tag/adventureworks2008r2)
1216

17+
## Install from a script
1318

14-
## 2014 install instructions
15-
16-
These versions of AdventureWorks install on SQL Server 2014 or later.
17-
18-
### Prerequisites
19-
The installs require that full-text search is enabled. If this is not installed, you can re-run setup and add the feature.
20-
21-
### Determine path variables
22-
23-
Determine the path to your SQL Server installation folder. The instructions refer to this as **{SQL Server Path}**. These are the default paths:
24-
25-
- SQL Server 2014 64-bit: C:\Program Files\Microsoft SQL Server\120\
26-
- SQL Server 2014 32-bit: C:\Program Files (x86)\Microsoft SQL Server\120\
27-
28-
Determine the path to the DATA folder for your SQL Server instance. The instructions refer to this as **{DATA path}**. These are the default paths:
29-
30-
- SQL Server 2014 64-bit: C:\Program Files\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA
31-
- SQL Server 2014 32-bit: C:\Program Files (x86)\Microsoft SQL Server\MSSQL12.MSSQLSERVER\MSSQL\DATA
32-
33-
34-
### Install AdventureWorks2014
35-
36-
This is the OLTP version.
37-
38-
1. Create the folder {SQL Server Path}\Tools\Samples\AdventureWorks2014.
39-
2. Copy the files from the [2014-oltp](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/adventure-works/2014-oltp) git folder to {SQL Server Path}\Tools\Samples\AdventureWorks2014.
40-
3. Open SQL Server Management Studio (SSMS).
41-
4. In SSMS, open the file {SQL Server Path}\Tools\Samples\AdventureWorks2014\instawdb.sql.
42-
4. In the script, change the :setvar SqlSamplesDatabasePath variable to your {DATA path}.
43-
5. In the script, change the :setvar SqlSamplesSourceDataPath variable to {SQL Server Path}\Tools\Samples\AdventureWorks2014.
44-
5. On the Query menu, click SQLCMD Mode.
45-
6. On the Standard toolbar, click the Execute button to run the script.
46-
47-
48-
### Install AdventureWorksDW2014
49-
50-
This is the data warehouse version.
51-
52-
1. Create the folder {SQL Server Path}\Tools\Samples\AdventureWorksDW2014.
53-
2. Copy the files from the [2014-dw](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/adventure-works/2014-dw) git folder to {SQL Server Path}\Tools\Samples\AdventureWorksDW2014.
54-
3. Open SQL Server Management Studio (SSMS).
55-
4. In SSMS, open the file {SQL Server Path}\Tools\Samples\AdventureWorksDW2014\instawdbdw.sql.
56-
4. In the script, change the :setvar SqlSamplesDatabasePath variable to your {DATA path}.
57-
5. In the script, change the :setvar SqlSamplesSourceDataPath variable to {SQL Server Path}\Tools\Samples\AdventureWorksDW2014.
58-
5. On the Query menu, click SQLCMD Mode.
59-
6. On the Standard toolbar, click the Execute button to run the script.
19+
To install **AdventureWorks**, copy the data files and scripts for [AdventureWorks](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/adventure-works/oltp-install-script) to your local client. Open [instawdb.sql](https://github.com/Microsoft/sql-server-samples/blob/master/samples/databases/adventure-works/oltp-install-script/instawdb.sql) in SQL Server Management Studio and follow the instructions at the top of the file.
6020

21+
To install **AdventureWorksDW**, copy the data files and scripts for [AdventureWorksDW](https://github.com/Microsoft/sql-server-samples/tree/master/samples/databases/adventure-works/data-warehouse-install-script) to your local client. Open [instawdbdw.sql](https://github.com/Microsoft/sql-server-samples/blob/master/samples/databases/adventure-works/oltp-install-script/instawdbdw.sql) in SQL Server Management Studio and follow the instructions at the top of the file.

0 commit comments

Comments
 (0)