MySQL:求助,我这个存储过程为什么不对呢?
DELIMITER$$CREATEPROCEDUREprocedure_name()USEmysql$$BEGINDECLAREidINTEGER;DECLAREcont...
DELIMITER $$
CREATE PROCEDURE procedure_name()
USE mysql$$
BEGIN
DECLARE id INTEGER;
DECLARE content VARCHAR(80);
SET id = 72;
SET content = 'Jackson';
INSERT INTO blog(id, content) VALUES(id, content);
END$$
DELIMITER ;
仅仅是定义了两个变量而已啊 展开
CREATE PROCEDURE procedure_name()
USE mysql$$
BEGIN
DECLARE id INTEGER;
DECLARE content VARCHAR(80);
SET id = 72;
SET content = 'Jackson';
INSERT INTO blog(id, content) VALUES(id, content);
END$$
DELIMITER ;
仅仅是定义了两个变量而已啊 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询