payam-source
شنبه 22 تیر 1392, 10:54 صبح
با سلام
من یک sp می خوام تو mysql بنویسم با این ساختار :
CREATE PROCEDURE insert_sait_inf(IN name TEXT,IN title TEXT,IN link TEXT)
BEGIN
INSERT INTO sait_inf(sait_name,sait_title,sait_link) VALUES (name,title,link);
END
ولی نمیدونم چرا این ارور رو می ده
SQL query:
CREATE PROCEDURE insert_sait_inf( IN name TEXT, IN title TEXT, IN link TEXT ) BEGIN INSERT INTO sait_inf( sait_name, sait_title, sait_link )
VALUES (
name, title, link
);
MySQL said:
#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
کسی می تونه کمکم کنه؟؟
من یک sp می خوام تو mysql بنویسم با این ساختار :
CREATE PROCEDURE insert_sait_inf(IN name TEXT,IN title TEXT,IN link TEXT)
BEGIN
INSERT INTO sait_inf(sait_name,sait_title,sait_link) VALUES (name,title,link);
END
ولی نمیدونم چرا این ارور رو می ده
SQL query:
CREATE PROCEDURE insert_sait_inf( IN name TEXT, IN title TEXT, IN link TEXT ) BEGIN INSERT INTO sait_inf( sait_name, sait_title, sait_link )
VALUES (
name, title, link
);
MySQL said:
#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
کسی می تونه کمکم کنه؟؟