Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Set Up a SQL Server With the AdventureWorks Sample Database in 2 Minutes

DZone's Guide to

Set Up a SQL Server With the AdventureWorks Sample Database in 2 Minutes

Now that the AdventureWorks database has been integrated into the database setup in the Azure Portal, see how you can set it up on a SQL Server in 2 minutes.

· Database Zone
Free Resource

Traditional relational databases weren’t designed for today’s customers. Learn about the world’s first NoSQL Engagement Database purpose-built for the new era of customer experience.

I remember when I wrote a blog post in 2014 about how you can set up the AdventureWorks Sample Database on a SQL Server hosted in Azure in under 10 minutes.

Well, today, we can beat this time.

In the meantime, the AdventureWorks database has been integrated into the database setup in the Azure Portal. This allows us to create the whole shabang in under two (!) minutes — but only if you know what you are doing and if you are a reasonably fast typer...

Follow these 4 steps.

  1.  Navigate to the Azure Portal and click the New button. Then, search for SQL Database.

  2. imageOn the next screen, click Create.

  3. imageFill in the details — specify a database name, select a subscription, and select a resource group.

  4. Then comes the important part. In the drop-down Select source, take Sample (AdventureWorksLT) instead of blank.

    Select or create a database server and adjust your pricing tier.

  5. imageHit Create!

And that's it!

Now, you have a SQL Server in Azure that contains the entire AdventureWorks database.

It could not get any easier than this! Azure is amazing!

Note that in order to connect from a client such as SQL Server Management Studio (SSMS) or Visual Studio, you need to allow connections from your IP on the Firewall blade from your database server in the Azure Portal. Check out this description.

Learn how the world’s first NoSQL Engagement Database delivers unparalleled performance at any scale for customer experience innovation that never ends.

Topics:
database ,tutorial ,sql server ,adventureworks ,azure

Published at DZone with permission of Manuel Meyer, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}