MySQL Forums
Forum List  »  MySQL Workbench

Re: xpost from triggers: create before insert, mysqlworkbench: the object's DDL contains syntax error
Posted by: Peter Brawley
Date: December 06, 2020 11:33AM

Is this what you mean?

set new.person_join_date = 
  select birth_date 
  from people 
  where people_id=new.people_people_id;

Options: ReplyQuote

Sorry, only registered users may post in this forum.

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.