Mega Code Archive
Categories
/
MySQL Tutorial
/
Trigger
OLD and NEW Keywords
Two keywords are unique to SQL statements used in defining triggers: OLD and NEW. These keywords allow you to refer to the data before and after the activating event takes place. For example, OLD., NEW..