我的存储过程: CREATE DEFINER=`root`@`%` PROCEDURE `SplitMonthlyToDaily`( IN p_ym VARCHAR(10), IN p_creator VARCHAR(255) ) 我用过的,调用不成功的JS代码: //var sql="exec SplitMonthlyToDaily '"+p_ym+"','"+p_creator+"'"; //var res=FR.remoteEvaluate('=sql("填报_测试","'+sql+'",1,1)'); //var sql ="begin SplitMonthlyToDaily('"+ p_ym+"','"+ p_creator+"');end;"; //console.log(sql); //FR.remoteEvaluate('=SQL("填报_测试","'+sql+'",1,1)'); |