Re: Syntax error on creating trigger
MySQL through 5.7 gives an error on ORDER 1. Looks like syntax from another sql dialect.
Remove that, and either remove the Begin/End (unneeded in a single-statement routine) or surround trigger creation with delimiter directives, and it works.
Subject
Views
Written By
Posted
1833
January 26, 2018 05:01PM
2356
January 26, 2018 06:09PM
Re: Syntax error on creating trigger
1137
January 26, 2018 06:09PM
813
January 26, 2018 08:36PM
815
January 26, 2018 08:36PM
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.