If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Sybase > Calling trigger...

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-04-10, 03:50
agrawal.meet agrawal.meet is offline
Registered User
 
Join Date: Jun 2010
Posts: 51
Question Calling trigger...

May be it's just an easy question and I am being stupid or it's not possible..

Can you explicitly call trigger? meaning exec <trigger name>
Reply With Quote
  #2 (permalink)  
Old 08-04-10, 04:38
Martijnvs Martijnvs is offline
Registered User
 
Join Date: Jan 2004
Location: The Hague/Utrecht, NL
Posts: 396
You can't call a trigger. A trigger is a stored procedure that is executed when certain conditions are met. E.g. if you have an insert-trigger in a table, the trigger is only fired if an insert is done on that table.

B.t.w. this is also thouroughly explained in the Sybase-documentation.
__________________
I'm not crazy, I'm an aeroplane!
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On