Files
sql-server-samples/samples/databases/adventure-works/README.md
T

2.4 KiB

AdventureWorks Readme

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.

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. For a sample database leveraging more recent features of SQL Server, see WideWorldImporters.

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.

Install from a backup

For the complete set of downloads, see these releases:

Install from a script

To install AdventureWorks, copy the data files and scripts for AdventureWorks to your local client. Open instawdb.sql in SQL Server Management Studio and follow the instructions at the top of the file.

To install AdventureWorksDW, copy the data files and scripts for AdventureWorksDW to your local client. Open instawdbdw.sql in SQL Server Management Studio and follow the instructions at the top of the file.