Assets 2

This code sample demonstrates how SQL Server 2016 memory optimized databases could be used to ingest a very high input data rate and ultimately help improve the performance of applications with similar scenarios. The code simulates an IoT Smart Grid scenario where multiple IoT power meters are constantly sending electricity usage measurements to the database.

This release contains two files:

The source code for the demo is maintained here.

For any feedback on the sample, contact: sqlserversamples@microsoft.com

@barbkess barbkess released this Dec 12, 2017 · 510 commits to master since this release

Assets 20

These downloads are scripts and full database backups (.bak) files that you can use to install the AdventureWorks (OLTP) and AdventureWorksDW (data warehouse) sample databases to your SQL Server instance.

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 additional guidance, please review the instructions for attaching a database and restoring a database.

Install scripts

For AdventureWorks, download AdventureWorks-oltp-install-script.zip, or use the files in the oltp-install-script folder in GitHub.

For AdventureWorksDW, download AdventureWorksDW-data-warehouse-install-script.zip, or use the files in the data-warehouse-install-script folder in GitHub.

AdventureWorks (OLTP) full database backups

AdventureWorks2017.bak

AdventureWorks2016.bak

AdventureWorks2016_EXT.bak
Download size is 883 MB. This is an extended version of AdventureWorks, designed to showcase SQL Server 2016 features. To see the features in action, run the SQL Server 2016 sample scripts on this database.

AdventureWorks2014.bak

AdventureWorks2012.bak

AdventureWorksLT (Lightweight) full database backups

AdventureWorksLT2017.bak

AdventureWorksLT2016.bak

AdventureWorksLT2014.bak

AdventureWorksLT2012.bak

AdventureWorksDW (Data Warehouse) full database backups

AdventureWorksDW2017.bak

AdventureWorksDW2016.bak

AdventureWorksDW2016_EXT.bak
An extended version of AdventureWorksDW2016 designed to showcase SQL Server 2016 features. To see the features in action, run the SQL Server 2016 sample scripts on this database.

AdventureWorksDW2014.bak

AdventureWorksDW2012.bak

Additional OLTP backups and samples

adventure-works-2014-oltp-in-memory-sample.zip

Oct 13, 2017
Merge pull request #303 from nulllogicone/master
Fix typo

@barbkess barbkess released this Sep 22, 2017 · 590 commits to master since this release

Assets 12

This release contains the full database backups, scripts, and projects for AdventureWorks2008R2. They are for use with SQL Server 2008R2 and later versions. This release does not include filestream. These samples are migrated from Codeplex.

For additional guidance, please review the instructions for attaching a database and restoring a database.

For multidimensional and tabular models, see AdventureWorks for Analysis services.

Feedback on this release: send to sqlserversamples@microsoft.com.

AdventureWorks2008R2 (OLTP) downloads

adventure-works-2008r2-oltp.mdf
A full database backup (.bak) file of AdventureWorks2008R2.

adventure-works-2008r2-oltp-data-file.mdf
A full database mdf file of AdventureWorks2008R2.

adventure-works-2008r2-oltp-script.zip
Script and source data files to build and install AdventureWorks2008R2.

AdventureWorksLT2008R2 and AdventureWorksLT2008 (Lightweight) downloads

adventure-works-2008r2-lt.bak
A full database backup of AdventureWorksLT2008R2.

adventure-works-2008r2-oltp-script.zip
Script and source data files to build and install AdventureWorksLT2008R2.

adventure-works-2008-lt-data-file.mdf
A full database mdf file of AdventureWorks2008R2.

AdventureWorksDW2008R2 (data warehouse) downloads

adventure-works-2008r2-dw-data-file.bak
A full database backup of AdventureWorksDW2008R2. It is a sample database for data warehousing, and provides source data for the multi-dimensional and tabular analysis projects mentioned in this release.

adventure-works-2008r2-dw-data-file.mdf
A full database mdf file of AdventureWorksDW2008R2. It is a sample database for data warehousing, and provides source data for the multi-dimensional and tabular analysis projects mentioned in this release.

adventure-works-2008r2-dw-script.zip
Script and source data files to build and install AdventureWorksDW2008R2.

Sep 21, 2017
Merge pull request #234 from davidbaxterbrowne/patch-1
Update LoadFromAzureBlobStorage.sql

@barbkess barbkess released this Feb 28, 2018 · 595 commits to master since this release

Assets 12

This release contains the full database files, scripts, and projects for AdventureWorks2012. They are for use with SQL Server 2012 and later versions. These samples are migrated from Codeplex.

For the multidimensional and tabular models, see AdventureWorks for Analysis services.

Feedback on this release: send to sqlserversamples@microsoft.com.

AdventureWorks2012 (OLTP) downloads

adventure-works-2012-oltp-data-file.mdf

A full database MDF data file of AdventureWorks2012.

adventure-works-2012-oltp-full-database-backup.zip

A full database backup (.bak) of AdventureWorks2012.

adventure-works-2012-oltp-script.zip

A SQL Server script and .csv data files for installing AdventureWorks2012.

AdventureWorks2012_CS (OLTP, case-sensitive) downloads

adventure-works-2012-oltp-cs-data-file.mdf

A full database MDF data file of AdventureWorks2012_CS.

adventure-works-2012-oltp-cs-script.zip

A SQL Server script and .csv data files for installing AdventureWorks2012_CS.

AdventureWorksLT2012 (OLTP, lightweight version)

adventure-works-2012-oltp-lt-data-file.mdf

A full database MDF data file of AdventureWorksLT2012. T

adventure-works-2012-oltp-lt-script.zip

A SQL Server script and .csv data files for installing AdventureWorksLT2012.

AdventureWorksDW2012 (data warehouse) downloads

adventure-works-2012-dw-data-file.mdf

A full database MDF data file of AdventureWorksDW2012.

adventure-works-2012-dw-images.zip

Images for AdventureWorksDW2012.

Assets 8

This release contains sample Adventure Works tabular and multidimensional model database backups, scripts, and projects for use with Azure Analysis Services and SQL Server Analysis Services.

Feedback on this release: send to sqlserversamples@microsoft.com.

Analysis Services multidimensional model downloads

adventure-works-multidimensional-model-full-database-backup.zip
A full database backup of an Analysis Services multidimensional database. This sample is based on Adventure WorksDW2014 sample data. Requires SQL Server 2014 Analysis Services or later.

adventure-works-multidimensional-model-project.zip
A sample Analysis Services multidimensional model project. Requires Visual Studio 2015 with SQL Server Data Tools. To use this sample project, you must install an AdventureWorksDW database as a data source.

adventure-works-multidimensional-model-readme.txt
Instructions to install the AdventureWorksDW2014 multidimensional model from the full database backup, or by using the project.

adventure-works-multidimensional-tutorial-projects.zip
A collection of completed sample projects for each lesson in the multidimensional modeling tutorial. Requires SQL Server Analysis Services 2012 or later. To use this sample project, you must also install an AdventureWorksDW database as a data source.

Analysis Services tabular model downloads

adventure-works-tabular-model-1200-full-database-backup.zip
A sample AdventureWorks Internet Sales tabular model database at the 1200 compatibility level. To restore, you must have an Azure Analysis Services server or a SQL Server 2016 or later Analysis Services instance.

adventure-works-tabular-model-project-1200.zip
A sample AdventureWorks Internet Sales tabular model project at the 1200 compatibility level. This sample project requires SQL Server Data Tools (SSDT) for Visual Studio 2015 or Visual Studio 2017 with Microsoft Analysis Services Projects. To load data into the workspace database for this project, you must also install an AdventureWorksDW database as a data source. To deploy this project, you must have an Azure Analysis Services server, or a SQL Server 2016 or later Analysis Services instance.

Sep 20, 2017
Merge pull request #280 from CarlRabeler/ii
ii

@perrysk-msft perrysk-msft released this Sep 14, 2016 · 1130 commits to master since this release

Assets 4

This demo demonstrates the performance improvements that can be obtained in SQL Server and Azure SQL Database by using memory-optimized tables and natively compiled stored procedures.

This release contains two files:

The source code for the demo is maintained here.

For any feedback on the sample, contact: sqlserversamples@microsoft.com

References:

@perrysk-msft perrysk-msft released this Jun 15, 2016 · 1384 commits to master since this release

Assets 4

This code sample demonstrates how SQL Server 2016 memory optimized databases could be used to ingest a very high input data rate and ultimately help improve the performance of applications with similar scenarios. The code simulates an IoT Smart Grid scenario where multiple IoT power meters are constantly sending electricity usage measurements to the database.

This release contains two files:
readme.txt - Instructions for running the code sample.
iot-smart-grid-v1.0.zip - Data Generator, T-SQL scripts for db setup, and Power BI Report.

The source code for the demo is maintained here.

For any feedback on the sample, contact: sqlserversamples@microsoft.com