这是我的,代码:
DELIMITER $$
CREATE PROCEDURE `Get_Next_Processing_Video`
(
OUT out_IDVideo INT ,
OUT out_YoutubeIDVideo VARCHAR(15)
)
BEGIN
SELECT NP.IDVideo INTO out_IDVideo
FROM next_processing AS NP
Limit 1
UPDATE TABLE Video AS V
SET V.SchedulingFlag = TRUE
WHERE IDVideo = out_IDVideo
END
我不明白错误在哪里?