Skip to content

Commit

Permalink
Merge pull request #326 from barbkess/blk3
Browse files Browse the repository at this point in the history
Updates from Jos
  • Loading branch information
barbkess authored Nov 7, 2017
2 parents b002eca + 078b12f commit 4148b93
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions samples/databases/adventure-works/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,15 @@

The AdventureWorks databases are sample databases that were originally published by Microsoft to show how to design a SQL Server database using SQL Server 2008. AdventureWorks is the OLTP sample, and AdventureWorksDW is the data warehouse sample.

Over the years, the databases have become popular for use in examples and database courses. Database design has changed since SQL Server 2008, and so AdventureWorks does not always exhibit the best practices of designing a database with the latest features of SQL Server. For compatibility with existing AdventureWorks examples, we continue to publish a version-bump of AdventureWorks for each new release of SQL Server.
Database design has progressed since AdventureWorks was first published. For a sample database leveraging more recent features of SQL Server, see [WideWorldImporters](../wide-world-importers/).

The database tables are the same for all releases of SQL Server. However, the database compatibility level and version-specific information is different according to the version of SQL Server. For example, if you install AdventureWorks2014 on SQL Server 2016, the database will not be running at the compatibility level for SQL Server 2016.

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 the install script.
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.


## Install from a script

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.


### To install AdventureWorks

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.
Expand Down

0 comments on commit 4148b93

Please sign in to comment.