MySQL Forums
Forum List  »  Triggers

Re: Audit Log Trigger - Retrieve Fields Values
Posted by: Peter Brawley
Date: December 19, 2011 01:44PM

No, you can't treat MySQL Trigger constants like OLD as if they were variables. And as you may've noticed, there is no such thing as a general-purpose Trigger. SQL is not a complete computer language, not is it a macro-able language.

Triggers have to be specific.

For ideas about audit trails see http://krugman.blogs.nytimes.com/2011/12/19/hungarys-constitutional-revolution/#more-27489.

PB

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Audit Log Trigger - Retrieve Fields Values
1710
December 19, 2011 01:44PM


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.