无参数的存储过程
CREATE PROCEDURE P_XSRBB() BEGIN DECLARE VP1 VARCHAR(20); SET VP1=4; SELECT VP1 FROM DUAL; END; CALL P_XSRBB();
带输入参数的存储过程
DROP PROCEDURE IF EXISTS P_XSRBB; CREATE PROCEDURE P_XSRBB(in vp2 INT) BEGIN DECLARE VP1 VARCHAR(20); SET VP1=4; SELECT VP2 FROM DUAL; END; CALL P_XSRBB(3434);
CentOs6.5上安装MySQL-Cluster 7.3.4的经历(2天查找各种资料试验结果),布布扣,bubuko.com