0
我創建了以下存儲過程,但無法按預期工作.....一些錯誤行不工作3存儲過程在MYSQL
DELIMITER $$
DROP PROCEDURE IF EXISTS mytest.sp_insert_request $$ CREATE [email protected] 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 ;
您需要突出顯示您的代碼行,然後單擊編輯器工具欄上的「代碼」按鈕(010 101),或者在鍵盤上按Ctrl-K,以良好地格式化和語法突出顯示代碼(包括SQL) – 2009-12-28 12:30:45