MySQL Forums
Forum List  »  Triggers

Re: Trigger not working
Posted by: Lee Goolsby
Date: December 14, 2010 08:52PM

Below is the error I am recieving.

[SQL] CREATE TRIGGER `update_status_fromAppUser` AFTER UPDATE ON `users` FOR EACH ROW DECLARE appcount INT;
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DECLARE appcount INT' at line 1

???

Options: ReplyQuote


Subject
Views
Written By
Posted
2448
December 14, 2010 03:00PM
1074
December 14, 2010 03:59PM
Re: Trigger not working
1017
December 14, 2010 08:52PM
1013
December 14, 2010 09:13PM


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.