WideWorldImporters Sample Database for SQL Server and Azure SQL Database
WideWorldImporters is a sample for SQL Server and Azure SQL Database. It showcases database design, as well as how to best leverage SQL Server features in a database.
WideWorldImporters is a wholesale company. Transactions and real-time analytics are performed in the database WideWorldImporters. The database WideWorldImportersDW is an OLAP database, focused on analytics.
The sample includes the databases that can be explored, as well as sample applications and sample scripts that can be used to explore the use of individual SQL Server features in the sample database.
Latest release: wide-world-importers-release
Documentation: Wide World Importers Documentation
Feedback on the sample: send to sqlserversamples@microsoft.com
Contents
About this sample
Before you begin
Sample structure
Disclaimers
Related links
About this sample
- Applies to: SQL Server 2016 (or higher), Azure SQL Database
- Key features: Core database features
- Workload: OLTP, OLAP, IoT
- Programming Language: T-SQL, C#
- Authors: Greg Low, Denzil Ribeiro, Jos de Bruijn
- Update history: 25 May 2016 - initial revision
Before you begin
To run this sample, you need the following prerequisites.
Software prerequisites:
- SQL Server 2016 (or higher) or an Azure SQL Database.
- SQL Server Management Studio, preferably June 2016 release or later (version >= 13.0.15000.23).
- (to build sample apps) Visual Studio 2015.
- (to run ETL jobs) SQL Server 2016 Integration Services
Sample structure
The latest release of this sample is available here: TBD
The source code for the sample is structured as follows:
[sample-scripts] (sample-scripts/)
Sample scripts that illustrate the use of various SQL Server features with the WideWorldImporters sample database.
[workload-drivers] (workload-drivers/)
Simple apps that simulate workloads for the WideWorldImporters sample database.
[wwi-database-scripts] (wwi-database-scripts/)
T-SQL scripts to create the main WideWorldImporters database.
[wwi-dw-database-scripts] (wwi-dw-database-scripts/)
T-SQL scripts to create the analytics database WideWorldImportersDW.
[wwi-integration-etl] (wwi-integration-etl/)
SQL Server Integration Services (SSIS) project for the Extract, Transform, and Load (ETL) process that takes data from the transactional database WideWorldImporters and loads it into the WideWorldImportersDW database.
Disclaimers
The code included in this sample is not intended to be used for production purposes.
Related Links
For more information, see these articles: