MySQL Forums
Forum List  »  Triggers

Re: looking for a row handle like C++'s this-> pointer
Posted by: Peter Brawley
Date: March 21, 2006 06:08PM

In a trigger you can refer to a pre-update value as OLD.column_name and a post-update value as NEW.column_name. See http://dev.mysql.com/doc/refman/5.1/en/create-trigger.html

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: looking for a row handle like C++'s this-> pointer
1738
March 21, 2006 06:08PM


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.