Solved

Northwind deleted tables, how to restore

Posted on 2004-04-27
2
339 Views
Last Modified: 2010-07-27
Hi
I have an MS SQL 2000, which I use for development. I accidentaly deleted some files(I guess so) of the database,
Now I can't see some tables and stored procedures.  Is there a away to replace it/ restore it to its original state? I am a newbie,
so please give me some tips?

Thanks
Heart
0
Comment
Question by:heartguy123
2 Comments
 
LVL 69

Expert Comment

by:ScottPletcher
Comment Utility
1) Do you have a backup of Northwind that you can restore over the existing Northwind?

2) Do you have another SQL Server installation with Northwind?  If so, you can take a backup of that db and restore it over the damaged Northwind.
0
 
LVL 7

Accepted Solution

by:
Lori99 earned 250 total points
Comment Utility
Go to the directory c:\program files\microsoft sql server\mssql\install or wherever you installed SQL Server.  There you will find a SQL script called instnwind.sql.  This is a script that drops and recreates Northwind.  You can run it from Query Analyzer.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now