执行脚本内容如下: SET @pre_version=2017080901; SET @cur_version=2017090401; SET @ver_desc = '测试脚本'; CALL pro_exec_update_db_v_1(@pre_version,@cur_version,'',1,0,''); CALL pro_exec_update_db_v_1(@pre_version,@cur_version,@ver_desc,2,0,''); 存储过程如下: DELIMITER |