Introduction
Northwind database is a sample DB, which is used in numerous tutorials, and helps students to learn about databases and other programming subjects. Some of the subjects that students can learn through the Northwind database are given below.
- How the data is stored in a Relational database.
- Executing queries like SELECT, UPDATE, DELETE, ALTER, etc.
- How to use foreign keys and primary keys in the tables.
- Understanding the database structure and data normalization.
The students can even use the Northwind database to do programming languages like PHP, jQuery, ASP, C++, C#, and more.
Taking into account the usefulness of the Northwind database, I decided to write a tutorial that helps the students restore it in their SQL Server. After restoring it, they can use this database for learning purposes.
Note. This Restoring procedure is just a one-minute job.
Requirements
You should have SQL Server installed on your computer. I am using SQL Server 2012 Edition here. The restoring database steps are the same for other versions of SQL Server, too.
The procedure to restore the Northwind database in SQL Server is given below.
Step 1. The first step is to download the Northwind database backup file (.bak) from GitHub. (I have also attached the Northwind Backup file in this tutorial).
This backup file contains a zip file (.zip). You need to extract the backup file (Northwind. bak) from the zip file.
You can also extract it to any other location on your PC. In this tutorial, I extracted it from the “ E” drive. This makes it easy for me to remember the location.

Step 2. Open SQL Server Management Studio (SSMS). If you don’t have it - download it from the Microsoft Website.
SQL Server Management Studio (SSMS) helps in configuring, managing & developing SQL Server through rich sets of graphical tools.
Once you open SSMS, you will see a Window that asks to connect to the Server. In this Window, put the settings given below
- "Database Engine" for "Server type".
- "localhost” for “Server name".
- "Windows Authentication" for "Authentication".
Now, click the Connect button.

SSMS will connect and open Object Explorer.

Step 3. Object Explorer shows the nodes like databases, security, Server objects, replication, etc. Clicking the Plus sign at the front of these nodes will open them.









kave KavePosted May 30, 2019, 9:36 AM
Thank you very much !!!
Moorthy MuthukrishnanPosted Jul 25, 2018, 4:00 PM
Yogi, thanks for posting the step-by-step procedure. It works. Please note that the server name could be different than 'localhost' on a user's computer. On my computer the server name for DB came as '(localdb)\MSSQLLocalDB'. I used this and the whole process worked fine.
Sam HobbsPosted Apr 26, 2018, 8:57 PM
If that version of the database does not work due to being too old then try looking in GitHub. I would provide a link but links probably don't work here. Well suffix the GitHub URL with: cjlee/northwind/blob/master/Northwind.bak.zip
pavan shevlePosted Apr 17, 2018, 3:52 AM
Very easily explained. thanks
suresh kPosted Mar 1, 2018, 12:28 AM
Thank you yogi sir.. thank u for sharing for us.
SubashPosted May 12, 2017, 8:41 PM
Yes yogi sir this is useful
Joginder BangerPosted Mar 2, 2017, 4:35 AM
Sir jQuery is not a programming language .... I read long time before Jquery is scripting language is that right?
Vignesh ManiPosted Mar 1, 2017, 4:08 PM
Nice one. Thank you for sharing
Manav PandyaPosted Mar 1, 2017, 12:43 PM
Wow , thanks for sharing this ...