salam, hey guys, was hoping u could help me out...
ok i do know some sql, but im new to mysql... and theres this simple query that i just cant figure out whats wrong with it...
#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 'END' at line 14
ok i do know some sql, but im new to mysql... and theres this simple query that i just cant figure out whats wrong with it...
i know there are a lot of variables being passed, but just using one variable atm because if it works for one, itll work for all.. i tried with and without a semicolon ( ; ) at the end of "END" but no luck.. it saysCREATE PROCEDURE inserttoscrapbookSD
(owner1 VARCHAR(50),
poster1 VARCHAR(50),
Scrap1 VARCHAR(50),
Date_time1 DECIMAL,
InsertedOrNot DECIMAL
)
BEGIN
INSERT INTO scrapbook (Owner)
VALUES(owner1)
END
#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 'END' at line 14
Last edited: