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 03:05PM

Missing parens ...

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

If that errors, let's see the Show Create table results for the two tables.

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.