Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Is there a way to retrieve deleted triggers

Author  Topic 

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-03-16 : 06:08:41
hello,
I just finished working on a trigger and accidentally deleted it, because i worked very late into the night and wasnt concentrating

Is there a way to retrive it ?

afrika

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-03-16 : 06:17:04
I think it is not possible until you saved and took back up

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-03-16 : 06:27:25
Ok, thanks

Am trying to recreate the script, from the posts i made here on this forum

Guess this forum is my temporal back up :-)
Afrika
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2005-03-16 : 06:33:48
quote:
Originally posted by afrika

Ok, thanks

Am trying to recreate the script, from the posts i made here on this forum

Guess this forum is my temporal back up :-)
Afrika


Yes, this is the temporal back up where you can get the solution whenever you need

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

Kristen
Test

22859 Posts

Posted - 2005-03-16 : 09:06:40
Can you restore the DB to point in time (using transaction log)?

If so you can use SP_HELPTEXT 'MyTrigger' to get the source code of the trigger

As long as you didn't use WITH ENCRYPTION ... :-)

Kristen
Go to Top of Page

afrika
Master Smack Fu Yak Hacker

2706 Posts

Posted - 2005-03-16 : 09:19:41
thanks Kristen

But i just recreated it from the posts i have on this forum
Go to Top of Page
   

- Advertisement -