Solved

help- urgent recover stored procedure

Posted on 2008-09-30
6
766 Views
Last Modified: 2010-04-21
i am using MS-SQL server 2000. i have 2 databases. one is production and the other one is testing. i recently created a testing stored prodcedure in the test database. but forgot that the test database get overwritten everynight because the test database is also treat as the backup database. so how do i restore the store procedure in the test database? help me plz.
0
Comment
Question by:StewSupport
6 Comments
 
LVL 3

Assisted Solution

by:R_Janssen
R_Janssen earned 150 total points
ID: 22606353
It's gone if you are using a real backup and not replication. Always make sure you save your scripts.
 
0
 

Author Comment

by:StewSupport
ID: 22606373
dang it no other way?
0
 
LVL 60

Accepted Solution

by:
chapmandew earned 175 total points
ID: 22606389
It is gone unless you have a backup of the database.
0
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.

 
LVL 39

Assisted Solution

by:BrandonGalderisi
BrandonGalderisi earned 175 total points
ID: 22606578
Or by chance still have it open in Query analyzer somewhere, or saved locally.
0
 

Author Closing Comment

by:StewSupport
ID: 31501591
not the solution i guess there are none so i just give points to you for trying thanks
0
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 22630384
But it is the solution.  The "solution" is the answer to your question.  And unfortunately, sometimes the answer is there is no way to do it.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

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 tables join on parse list 6 21
Sql Server group by 10 23
Create snapshot on MSSQL 2012 3 17
T-SQL:  Collapsing 9 19
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…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

813 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

10 Experts available now in Live!

Get 1:1 Help Now