MySQL Forums
Forum List  »  Triggers

Trigger
Posted by: Wesley Ryan
Date: July 10, 2019 10:45PM

Trying to work on a trigger that updates the value of a field, with the value from another table once inserted or even before insert. Example

SET t1.sales_audit_createdbyname = t2.emp_fullname
WHERE t1.sales_audit_createdby = t2.id_emp

Have triggers working but when its cross table, struggling

Options: ReplyQuote


Subject
Views
Written By
Posted
Trigger
1157
July 10, 2019 10:45PM
654
July 11, 2019 12:52AM


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.