dbTalk Databases Forums  

Re: How do I find triggers associated to a table

comp.databases.sybase comp.databases.sybase


Discuss Re: How do I find triggers associated to a table in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Bret Halford
 
Posts: n/a

Default Re: How do I find triggers associated to a table - 06-27-2003 , 09:39 AM






blackscooby (AT) btinternet (DOT) com (Mark Warren) wrote in message news:<83288e0.0306262345.3ace46ce (AT) posting (DOT) google.com>...
Quote:
Hi,

How can I find what triggers are associated to a particular table ?
(ASE 11.5.1)

Thanks

Mark

The sysobjects row for the table will have the object ids
of the triggers in the "instrig", "updtrig", and "deltrig" fields.

-bret


Reply With Quote
  #2  
Old   
joe buhl
 
Posts: n/a

Default Re: How do I find triggers associated to a table - 06-27-2003 , 11:07 AM






blackscooby (AT) btinternet (DOT) com (Mark Warren) wrote in message news:<83288e0.0306262345.3ace46ce (AT) posting (DOT) google.com>...
Quote:
Hi,

How can I find what triggers are associated to a particular table ?
(ASE 11.5.1)

Thanks

Mark
One easy way is to install sybase central. It will easily show you
all triggers for a particular table. Winsql will do this is well. Im
sure someone else will post the system table query that will get it
for you.


jab


Reply With Quote
  #3  
Old   
Brian Ceccarelli
 
Posts: n/a

Default Re: How do I find triggers associated to a table - 07-02-2003 , 11:39 PM



DBPowerSuite's psListTables and psListTablesForWeb tells you everything
associated with a table, including triggers. DBPowerSuite can also list the
text of the triggers, copy triggers, etc.

Free download and license at http://www.dbpowersuite.com





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.