MySQL Forums
Forum List  »  Triggers

Re: Trigger - ERROR 1054: 1054: Unknown column
Posted by: Peter Brawley
Date: April 13, 2020 03:43PM

In ...

SET @c08=`c0507_08_Qu` + NEW.c0503_08_QuOp;

... the Trigger hasn't fetched a value for `c0507_08_Qu`, `c0507_08_Qu` is undefined, you'll need to query that table for the value you want.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Trigger - ERROR 1054: 1054: Unknown column
680
April 13, 2020 03:43PM


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.