MySQL Forums
Forum List  »  Triggers

Re: Update Trigger problem
Posted by: Roland Bouman
Date: February 24, 2006 08:37AM

Is this really your trigger code?

if so, you are missing a begin...end around the body:

CREATE ....
...
FOR EACH ROW
begin
....;
...;
end;

You need a begin..end when you want to execute multiple statements. I agree this sure is a funny way of mysql to let you know this is the problem, so I suggest you try that first and post back if problems persist.

kind regards

roland.

Options: ReplyQuote


Subject
Views
Written By
Posted
2742
February 22, 2006 06:03AM
Re: Update Trigger problem
1655
February 24, 2006 08:37AM


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.