しばらくして手順を作成したいのですが、エラーが発生します。
これが私の手順です:
Delimiter //
create procedure procedure1 ()
BEGIN
Declare i INT;
set i=1;
while i< 74 do
execute immediate 'insert into main values(3,"samples")'
set i=1+1;
end while;
end //
このエラーが発生しました
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that on for the right syntax to use near ''insert into main values(3,"samples")'
誰かアイデアをください。