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 > MySQL > trigger update within update

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-18-04, 12:20
mongoloid001 mongoloid001 is offline
Registered User
 
Join Date: May 2003
Location: Edmonton Alberta Canada
Posts: 41
trigger update within update

Hi,

I am writing a trigger to do "before update" on a table. In this trigger, I want to update other records in the same table if certain condition is met. But I got a feeling that this is not going to work if the update trigger is called recursively by the update in the trigger. Is this the case, that a update in update trigger will call the trigger again?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 03-18-04, 12:48
mongoloid001 mongoloid001 is offline
Registered User
 
Join Date: May 2003
Location: Edmonton Alberta Canada
Posts: 41
ok, i figure this out myself.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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