MySQL Forums
Forum List  »  Triggers

Re: Delete trigger deletes an entire table
Posted by: irek kordirko
Date: March 16, 2012 11:15AM

Use OLD keyword to access data from record that is being deleted.
delete from ProcFamClass where ProcFamClass.proc_id = OLD.proc_id;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Delete trigger deletes an entire table
1071
March 16, 2012 11:15AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.