title: "Microsoft SQL samples | Microsoft Docs" description: Documentation for sample databases and links to samples for Microsoft SQL products. ms.date: "04/04/2018" ms.reviewer: "" ms.suite: "sql" ms.tgt_pltfrm: "" ms.prod: sql ms.prod_service: sql ms.technology: samples ms.topic: conceptual author: MashaMSFT ms.author: mathoma manager: craigg
[!INCLUDEappliesto-ss-asdb-xxxx-xxx-md]
Locations of sample databases and code samples for Microsoft SQL products.
Code samples for SQL products are in the Microsoft SQL Server Samples GitHub repository. Each sample includes a README file that explains how to run and use the sample. The main README for the samples repository explains how to contribute.
The samples and templates are all licensed under the MIT license. See the license.txt file in the root.
Email questions to: sqlserversamples@microsoft.com.
WideWorldImporters (WWI) is a sample database that showcases database design using current features, tools and design techniques. WideWorldImporters downloads include an OLTP and an OLAP database which are built to run on SQL Server 2016 and later.
The database downloads and samples are in the SQL Server Samples GitHub repository.
-
WideWorldImporters Readme and Samples on GitHub.
-
Tutorial: Load WideWorldImportersDW to Azure SQL Data Warehouse
AdventureWorks databases are available in the SQL Server Samples GitHub repository. The following download locations include all the various versions of AdventureWorks.
- AdventureWorks downloads for SQL Server 2014 and later. Includes .bak files for the 2012 releases.
- AdventureWorks downloads for SQL Server 2012.
- AdventureWorks downloads for SQL Server 2008R2.