Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Add Northwind database to SQLExpress

Posted on 2010-09-10
10
1,040 Views
Last Modified: 2012-05-10
Dear Dir,

When I downloaded SQLExpress, I could not find the Northwind database in it.
Where can I download this database and include in the SQLExpress?

Thanks,
JT
0
Comment
Question by:jtran007
  • 5
  • 4
10 Comments
 
LVL 20

Accepted Solution

by:
alainbryden earned 250 total points
ID: 33649749
You need to create these databases. You can download scripts to load this and other sample databases here:
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=06616212-0356-46a0-8da2-eebc53a68034&displaylang=en
0
 
LVL 8

Assisted Solution

by:Mohit Vijay
Mohit Vijay earned 250 total points
ID: 33649767
try it...

1) Navigate to the following URL and lick the Download button - http://www.microsoft.com/downloads/details.aspx?familyid=06616212-0356-46a0-8da2-eebc53a68034&displaylang=en

2) Complete the download and install process. This places the necessary files for Northwind (and Pubs) into the "c:\Sql Server 2000 Sample Databases" folder.

3) Open a command window. (Go to Start, Run, type Command and click OK)

4) Change the directory to the sample databases (type:  cd c:\SQL Server Sample Databases)

5) Type or paste the following into the command window replacing computerName with the actual name of your computer:

   osql -E -S computerName/SqlExpress -i instnwnd.sql

6) now go to VS and create a data connection using the computerName\sqlexpress as the Server name in the Add Connection dialog. The Northwind database should now be available.
0
 

Author Comment

by:jtran007
ID: 33683196
Hi VjSoft,

I downloaded the file from the website you indicated. It is *.msi file.
Do I have to run this program ? How can I get the file name instnwnd.sql file?

Thanks,
JT
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 8

Expert Comment

by:Mohit Vijay
ID: 33683230
Yes please run it.
Have you downloaded it from Microsoft Site? If yes, ok run this, it will install your required database.
0
 
LVL 8

Expert Comment

by:Mohit Vijay
ID: 33683245
You have to follow above steps (http:#a33649767)
0
 

Author Comment

by:jtran007
ID: 33683298
Hi VjSoft,

I google this file (instnwnd.sql), and I run the command. But I got the error like:
[DBNETLIB]SQL Server does not exist or access denied

So the command  osql -E -S computerName/SqlExpress -i instnwnd.sql

in which  computerName is the servername ???

Thanks,
JT
0
 
LVL 8

Expert Comment

by:Mohit Vijay
ID: 33683339
yes computer name is server name.

Actually In default installation, your computer name will always be servername

What you provide when you login into sQL server using Manage consol? that server name will be in place of "computerName/SqlExpress"
0
 

Author Comment

by:jtran007
ID: 33702626
Hi VjSoft,

I enterd my correct computer name, but still not working.
Any ideas?

Thanks,
JT
0
 

Author Closing Comment

by:jtran007
ID: 35380712
Thanks,
JT
0
 

Author Comment

by:jtran007
ID: 35380718
Hi,

 Why I can't split points here?

Thanks,
JT
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
SQL Server 2008 R2, need a pivot/cross tab query... 4 28
Database Integrity 1 48
sql server query 12 25
RAISERROR WITH NOWAIT 2 16
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Viewers will learn how the fundamental information of how to create a table.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question