sonstill.blogg.se

Adventureworks database query exercises
Adventureworks database query exercises









If you don't want to use above GUI method, you can directly run the T-SQL query Here is the Gif Image of complete process

adventureworks database query exercises

To Check your SQL server version check here

#ADVENTUREWORKS DATABASE QUERY EXERCISES INSTALL#

For example if you are trying to install AdventureWorks2017.bak on SQL server 2016 or 2012 then you will get error and you will not be able to restore it. Note: If your SQL server version is lower than AdventureWorks Sample database version, it will throw error. Once the restore is ready, you will screen like belowĬlick OK and Database will be restored completely. Now, right-click on "Databases" and Select "Restore Database"įrom the new pop-up, select "Device"-> "Browse" -> "Add" ( From new pop-up)Ĭlick on "Add"-> Navigate to "E:\AdventureWorks.bak" and Select it, Click "Ok" and the again click "Ok" Once you have downloaded the above file, open your local SQL server Management Studio, using which we will be restoring the above downloaded. Step 2: Open your SQL server Management Studio and Restore. Once you have downloaded it, open the "Downloads" Folders (Where file is downloaded) and copy/paste it in root folder of D: or E: Drive, basically we are doing this, so we don't get any error related to protection rights. It is around 46.7Mb in Size.ĪdventureWorks2016_EXT.bak (883MB) This is an extended version of AdventureWorks, designed to showcase SQL Server 2016 features I will be downloading AdventureWorks2016.bak for this tutorial. So, this is our first step to download complete sample database of AdventureWorks, there are many SQL server versions of the sample database. Basically, we will be restoring the AdventureWorks sample database in our local SQL server.

adventureworks database query exercises

In this article, I have explained from where you can download AdventureWorks sample database and congifure it to use in local SQL server database.









Adventureworks database query exercises