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
1398
January 26, 2018 05:01PM
2023
January 26, 2018 06:09PM
Re: Syntax error on creating trigger
930
January 26, 2018 06:09PM
644
January 26, 2018 08:36PM
616
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.