WideWorldImporters Sample Database for SQL Server and Azure SQL Database
WideWorldImporters is a sample for SQL Server and Azure SQL Database. It showcases best practices in 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.
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, 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 2016 April Preview or later (version >= 13.0.14000.36).
- (to build sample apps) Visual Studio 2015.
Sample structure
The latest release of this sample is available here: TBD
The source code for the sample is structured as follows:
[wwi-database-scripts] (wwi-database-scripts/)
T-SQL scripts to create the main WideWorldImporters database.
[wwi-dw-database-scripts] (wwi-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
TBD For more information, see these articles: