MySQL Forums
Forum List  »  Triggers

Re: Problem with create trigger
Posted by: Andrew Gilfrin
Date: July 08, 2005 01:29AM

Seems in the first instance like a syntax problem, you need to add a semi-colon ; at the end of the delete line.

Once it compiles you might also have a problem when calling the trigger due to current limitations with triggers, you need to explicitly lock and unlock the tables you will be using in the trigger.

Check out this long thread on the trigger forum for more details on that...

http://forums.mysql.com/read.php?99,31968

Andrew Gilfrin
------------------
http://gilfster.blogspot.com
My MySQL related Blog

http://www.mysqldevelopment.com
MySQL Stored Procedure,Trigger, View.... (Just about most things these days) Information

Options: ReplyQuote


Subject
Views
Written By
Posted
3351
July 08, 2005 12:14AM
Re: Problem with create trigger
2207
July 08, 2005 01:29AM


Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.

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.