Contoso Data Download

Contoso Data Download 9,5/10 3455 reviews

Need a sample database to test out your queries? Look at a collection of different ones you can make use of immediately.

Join the DZone community and get the full member experience.

  1. 03 Contoso Potluck Solution.xlsx View Download. View Download: Lesson 9 Sort Data on Multiple Columns in a Table.
  2. Contoso University. Contoso University is a place for learning AspNetCore and related technologies. This demo application is an amalgamation of smaller demo applications found in tutorials at AspNetCore docs. The tutorials are great at demonstrating isolated concepts, but issues surfaces when applying these concepts/techniques in a larger context.
  3. The setup contoso demo data for Dynamics Ax 2012 R3 is different from previous version. I remember, I used.dat file to load demo data into Dynamics Ax 2012 R2. Now DynamicsAX2012R3DemoData.exe available partner Resource. DynamicsAX2012R3DemoData.exe extracted files round 15 GB. Extracted folder contains three types of files. According to MSDN.
  4. Think there is a misunderstanding #1 - The Contoso.com domain is absolutely owned by Microsoft, no question about that #2 - What I stated was that the emails you're getting are likely 'spoofed' addresses making it 'appear' that these were coming from a contoso.com email address and if the case, it's nothing that Microsoft can control.
  5. Download the Demo data and the Data transfer tool. If you have access to the Partners source or Customer source, you can find demo data here. It is recommended to use Internet Explorer for downloading it. Click the Contoso Demo Data, enable the Microsoft File Transfer Manager, specify a folder, and click OK.
  6. From this machine you could extract the data by creating a SQL backup or using the Test Data Transfer Tool. The links to customersource and partnersource are mentioned in my blog about the solution demo pages (bottom of the article).
Join For Free

Why create a whole database when you can use an existing one for testing purposes? Today, I've collected a list of sample databases for SQL Server.

Contoso Data Download Free Jul 04, 2014  Now Available in Community - MBAS 2019 Presentation Videos. Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe.

There are times when you need a sample database to test out a query or benchmark the database or server in general.

What better way than to use production.err.I mean, a test database?

It's been a while since I've done a collection post, so I thought this would be perfect.

This collection of databases is meant to show how to properly design databases and how applications use them efficiently.

Oh, and they're also great test databases to beat on for performance scenarios.

Northwind Database

Nothing like an old classic to kick off the list.

The Northwind Database works with SQL Server 2005 and 2008 and was originally created for demonstration purposes for Microsoft Access. It eventually transitioned over to SQL Server.

AdventureWorks

AdventureWorks Cycles is another classic database representing a fictional company created and published by Microsoft.

The database shows how to design a SQL Server database using SQL Server 2008 and AdventureWorksDW is the data warehouse sample.

It works with 2005, 2008, 2008R2, 2012 RTM, and Azure.

Contoso Data Warehouse Download

Another version exists at Microsoft SQL Server Samples GitHub.

Contoso University

The Contoso University is an updated database to show how a schooling database would look like.

It's a simple database example. There is also a sample script of how to create it.

Since the script is simple enough, it should work on every SQL Server.

StackOverflow Database

I first found out about this through Brent Ozar's post on How to Download the StackOverflow database via BitTorrent.

The database is segmented into three downloads:

  • Large (41GB expands to 312GB)
  • Medium (10GB expands to 50GB)
  • Small (1GB expands to 10GB)

Each one has certain tables included like badges and post history. It's probably best to determine what data you find relevant and download the appropriate version.

Chinook Database

Finally, we have the Chinook database which represents a digital media store, including tables for artists, albums, media tracks, invoices, and customers.

This database supports not only SQL Server, but DB2, EffiProz, MySQL, Oracle, PostgreSQL, SQL Server Compact, and SQLite Data Model.

Conclusion

This was a collection I felt necessary to create because of all of the different flavors of databases you can use to test without damaging your own database.

Did I miss a database? Which one is your favorite? Post your comments below and let's discuss. Stewart calculus 8e pdf download.

database,sample,collection,queries,testing

Published at DZone with permission of Jonathan Danylko, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

By: Rajendra Gupta Updated: 2016-08-02 Comments (8) Related: More >SQL Server 2016

Contoso Data Download
Problem

We have been using AdventureWorks and AdventureWorksDW sample SQL Server databasessince SQL Server 2005 for both OLTP and OLAP environments. I am looking for thesample database where I can learn and play with the new features. Now with SQL Server2016 Microsoft has come up with a new sample database, in this tip we will be exploringand see how useful these sample databases are for us.

Solution

Microsoft has taken a leap forward with SQL Server 2016 with its mission criticalcapabilities and features. There are new sample databases introduced, WideWorldImportersand WideWorldImportersDW for both OLTP and OLAP environments. This is applicablefor both on-premises SQL Server instances and SQL Azure.

In SQL Server 2016, Microsoft has provided a version of the sample database accordingto the SQL Server edition. Let's get a basic understanding of these databases. You can also download these databases by clicking on the database name below.

1.WideWorldImporters-Full.bak - This sample database is for SQL Server enterprise,developer and evaluation edition and can be useful for OLTP and real time analyticsoperations.

2.WideWorldImportersDW-Full.bak - This sample database is for Online AnalyticalProcessing (OLAP) and is useful for SQL Server enterprise, developer and evaluationedition.

3.WideWorldImporters-Standard.bak - This sample database is for SQL Server 2016standard edition and useful for OLTP environments.

Contoso Data Download Software

4.WideWorldImportersDW-Standard - This sample database is for OLAP needs for SQLServer 2016 standard edition.

5.WideWorldImporters-Standrad.bacpac - This sample database is a BACPAC file formatand can be used as a Azure OLTP sample database.

6.2. WideWorldImportersDW-Standard.bacpac - This sample database is a BACPAC fileformat and can be used as an Azure OLAP sample database.

I am using SQL Server 2016 evaluation edition and haverestored the WideWorldImporters-Full.bak and WideWorldImportersDW-Full.bak database.As a next step, let's review some sample code to complete the restore process.

Restore WideWorldImporters Sample Database in SQL Server 2016

Restore WideWorldImportersDW Sample Database in SQL Server 2016

Features of the WideWorldImporters Sample Database in SQL Server 2016

As per MSDN, the WorldWideImporters database can be useful for testingnew functionality available with SQL Server 2016 including:

  • Archive tables can bestretched to Azure for long-term retention, reducing storage cost and improvingmanageability.
  • Query Store is used to keep track of query performance.
  • Temporal tables are used to conveniently keep track of the history of referencedata, as well as some of the main entities.
  • JSON is used to enable AJAX calls to some of the key tables, and also toextend the relational schema to record such things as application settings anduser preferences.
  • Advanced security features likeAlways Encrypted,Row-Level Security andDynamic Data Masking are used to secure data.
  • In-Memory OLTP is used to optimize the performance of table-valued parameters(TVPs) and to optimize ingestion of sensor data.
  • Clustered columnstore indexes are used to reduce the storage footprint oflarge tables with insert-only workload.
  • Partitioning is used to improve the manageability of large tables.

Features of the WideWorldImportersDW Sample Database in SQL Server 2016

WideWorldImportersDW is the main database for data warehousing and analytics(OLAP – Online Analytical Processing). The data in this database is derived fromthe transactional database WideWorldImporters, but it uses a schema that is specificallyoptimized for analytics. Below are the features of the database:

  • Clustered columnstore indexes are used to reduce the storage footprint andimprove query performance for the fact tables.
  • PolyBase is used to correlate data in the local database with a public dataset in Azure Blog storage.
  • In-Memory OLTP is used to improve the performance of the ETL process.
  • Partitioning is used to improve manageability of the fact tables, whichcan grow very large in a data warehouse.

WideWorldImporters Database Properties

Below are some screen shots from the WideWorldImporters database:

Contoso Data Download Free

Query store enabled by default

Database with an in memory data file

Database tables overview- system-versioned temporal tables

WideWorldImportersDW SQL Server Database Properties

Query store enabled by default

Polar heart rate monitor app mac. Database with an in memory data file

Data Generation in the WideworldImporters SQL Server Database

One of the good features of the WideWorldImporters and WideWorldImportersDW databasesis that data can be generated to the latest date. Currently Microsoft has provideddata from January 2013 to May 2013, but if we want to generate data to the currentdate it is possible with the below script:

We can set the parameters based on the data we require and the data will be generatedaccordingly. I have modified the parameter to generate more records in the examplebelow:

Reseed the OLAP Database

Reseed the OLAP database by executing the query below:

Sample SQL Server Integration Services Package

Microsoft has also provided an SSIS Package (Daily.ETL.ISPAC)for ETL needs from the OLTP to the OLAP database. We will be looking intopackage more in a future tip. Keep in mind this ETL package is common for both standardand enterprise editions.

SQL Server Sample and Examples

Microsoft has also provided a rich set of samples to explore the SQL Server 2016features forAlways Encrypted,Row Level Security, Operational Analytics, Polybase andIn-Memory OLTP. The samples can be download fromhere.

SQL Server 2016 Sample Workloads

SQL Server 2016 also includes sample workloads for the WideWorldImporters sampledatabases. These are Windows Form applications that will only run on Windows, thiscan be download fromhere.

This includes two application workloads:

1. Order-Insert: This application is used to provide an intensive order entryworkload for the WideWorldImporters database.

2.Vehicle Location insert: This application is used to compare the insertionof rows into OnDisk and In Memory tables in the WideWorldImporters database.

I will be exploring more on these application workloads in future tips.

Next Steps
  • Download and exploreSQL Server 2016.
  • Check outSQL Server 2016 Tips.
  • Read more aboutWideWorldImporters OLTP database.
  • Read more aboutWide World Importers data warehousing and analytics database

Last Updated: 2016-08-02



About the author
Rajendra is a Consultant DBA with 9+ years of extensive experience in database administration including large critical OLAP, OLTP, Reporting and SharePoint databases.
View all my tips

Contoso Data Warehouse Download