MySQL Forums
Forum List  »  PHP

Posted by: Deepak Tiwari
Date: January 16, 2012 03:14AM

When i am trying to Create a simple trigger or procedure so it is generating this error...Plz check my sql statement given below............

create trigger insertloginusers before insert on loginusers
for each row begin
insert into backuploginusers(query,type,status) values('sdf','insert',0);

#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 '' at line 3

Options: ReplyQuote

Written By
January 16, 2012 03:14AM
January 16, 2012 05:03AM

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.