MySQL Forums
Forum List  »  Triggers

Re: Trigger isn't only updating new entries...
Posted by: Jim Reamer
Date: September 05, 2017 02:25PM

Figured this out with some help:


update a_players
set wpID = NEW.term_id
where wpSlug = NEW.slug




(I'm still struggling with NEW syntax.)

Options: ReplyQuote


Subject
Views
Written By
Posted
1381
September 05, 2017 01:58PM
Re: Trigger isn't only updating new entries...
734
September 05, 2017 02:25PM


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.