摘要:
";}//创建存储结构mysql_query("DROP PROCEDURE IF EXISTS `my_test1`;", $link);$create_pro_sql = "CREATE PROCEDURE `my_test1`(a INT, b INT) BEGIN DECLARE c INT; IF a IS NULL THEN SET a = 0; END IF; IF b IS NULL THEN SET b = 0; END IF; SET c = a + b; SELECT c AS SUM; ... 阅读全文