MySQL Forums
Forum List  »  PHP

Re: Trouble Updating Table with Multiple Rows with Different Values
Posted by: Peter Brawley
Date: October 31, 2015 12:16AM

Why multiple triggers for one problem?

> SELECT SBvalue := `value` WHERE `code` = 'sub_total';
> SELECT SHIPvalue := `value` WHERE `code` = 'shipping';

Again, Select statements like that are not allowed in Triggers.

And, what table do these statements refer to?

Is this by any chance an EAV schema? If so, is that your choice, or has it been imposed on you?

Options: ReplyQuote


Subject
Written By
Posted
Re: Trouble Updating Table with Multiple Rows with Different Values
October 31, 2015 12:16AM


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.