Re: Triggers can not use reference to tables?
Currently, triggers have the same limitation as stored functions that they may not contain direct references to tables by name. This limitation will be lifted as soon as possible.
http://mysql.com/doc/mysql/en/create-trigger.html
You have to use NEW.colname or OLD.colname
... FOR EACH ROW NEW.colname = val
Subject
Views
Written By
Posted
3740
June 25, 2005 04:36AM
2344
June 25, 2005 08:29AM
Re: Triggers can not use reference to tables?
2404
June 26, 2005 10:41PM
2400
June 26, 2005 11:28PM
2434
June 27, 2005 11:25PM
2595
June 27, 2005 11:04PM
2699
June 27, 2005 11:14PM
2542
June 27, 2005 11:16PM
2408
June 28, 2005 12:37AM
2694
June 28, 2005 09:31AM
2399
June 28, 2005 11:20PM
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.