SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Drop Table Keep Trigger
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Noel4001
Starting Member

USA
1 Posts

Posted - 08/14/2007 :  09:02:54  Show Profile  Reply with Quote
I am new to SQL 2000 and was wondering if it is possible to drop a table and keep the trigger?

We are recreating the table shortly after it is dropped but want to keep the triggers to attach to the newly created table. We are moving data from database to another database. There is a third party app that is why we recreate the table. The third party app that assigns the trigger to the table when it is origianlly created using its interface, but not when we move data via the SQL engine.

spirit1
Cybernetic Yak Master

Slovenia
11751 Posts

Posted - 08/14/2007 :  09:18:21  Show Profile  Visit spirit1's Homepage  Reply with Quote
when you drop the table the trigger gets dropped too.
you can script your triggers and run them after the move...

_______________________________________________
Causing trouble since 1980
blog: http://weblogs.sqlteam.com/mladenp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000