Solved

Northwind deleted tables, how to restore

Posted on 2004-04-27
2
341 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
ID: 10932308
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
ID: 10932357
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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
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.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
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.

895 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

12 Experts available now in Live!

Get 1:1 Help Now