MySQL Forums
Forum List  »  Triggers

Re: passing variables to a trigger?
Posted by: Bob Field
Date: June 20, 2006 12:48PM

The keyword NEW is available inside triggers and indicates the contents of the newly- or soon-to-be-inserted row. For example NEW.columnA refers to columnA of the row. In a before-insert trigger NEW can be used to alter the values before the row is inserted.

Options: ReplyQuote


Subject
Views
Written By
Posted
3243
June 19, 2006 11:00AM
2170
June 19, 2006 11:40AM
2118
June 20, 2006 03:14AM
Re: passing variables to a trigger?
1978
June 20, 2006 12:48PM


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.