MySQL Forums
Forum List  »  Triggers

Re: Syntax error in trigger
Posted by: Gabriella Pepe
Date: August 12, 2017 02:47AM

Hi Peter, thanks for your kind reply.

If I add semicolons at the end of every line, the error #1064 moves to this line:

UPDATE wp_posts SET post_author = user_id WHERE ID = current_id;

Options: ReplyQuote


Subject
Views
Written By
Posted
782
August 11, 2017 03:37AM
320
August 11, 2017 10:57AM
Re: Syntax error in trigger
440
August 12, 2017 02:47AM
266
August 12, 2017 07:49AM
299
August 13, 2017 12:15AM
356
August 13, 2017 12:35AM
307
August 13, 2017 11:09AM
311
August 14, 2017 05:47AM
266
August 14, 2017 10:17AM


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.