输入banner图图片脚本导航/分类

mysql数据库执行存储过程问题

---------------------------- -- Procedure structure for `proc_adder` -- ---------------------------- DROP PROCEDURE IF EXISTS `proc_adder`; DELIMITER ;; CREATE DEFINER=`root`@`localhost` PROCEDURE `proc_adder`(IN a int, IN b int, OUT sum int) BEGIN #Routine body goes here... DECLARE c int; if a is null then set a = 0; end if; if b is null then set b = 0; end if; set sum = a + b; END ;; DELIMITER ;

 

mysql数据库执行存储过程问题

标签:sql语句   class   div   .com   sql数据库   end   一个   定义   执行存储过程