我创建了以下存储过程但未按预期工作.....某些错误行3
DELIMITER $$
DROP PROCEDURE IF EXISTS mytest.sp_insert_request $$ CREATE DEFINER=developer@127.0.0.1 PROCEDURE sp_insert_request(@RequestID varchar(250) = null, @Status varchar(45)= null,@Status_message varchar(9180)= null,@time_of_post varchar(9180) = null,@time_of_start varchar(9180)= null,@time_of_completion varchar(9180)= null) BEGIN
INSERT INTO request ( RequestID, Status, Status_message, time_of_post, time_of_start,time_of_completion) VALUES ( @RequestID, @Status,@Status_message,@time_of_post,@time_of_start,@time_of_completion );
END $$
DELIMITER ;
答案 0 :(得分:2)
插入物以;但是您定义了DELIMETER $$