-
-
张腾 数据老手Lv5
发表于2020-4-14 16:05
悬赏100
已解决
万能式钻取调用sql执行:https://bbs.esensoft.com/thread-138007-1-1.html
客户端脚本调用sql执行:https://help.esensoft.com/doc-view-39.html
sql数据源调用存储过程执行:https://bbs.esensoft.com/thread-134369-1-1.html
6个回答
本帖最后由 wut 于 2020-4-14 16:16 编辑
runSql("A", "B","C");
A:执行存储过程语句
B:存储过程变量传参,没有则默认无
C:对应的数据连接池
例子:以Mysql举例,runSql("EXEC ini_test @iyear = ?,@level = ?", "<#=@iyear#>;<#=@level#>","abi");
wut 发表于 2020-4-14 16:14
runSql("A", "B","C");
A:执行存储过程语句
B:存储过程变量传参,没有则默认无

几个调用存储过程的方法可以参考以下帖子
万能式钻取调用sql执行:https://bbs.esensoft.com/thread-138007-1-1.html
客户端脚本调用sql执行:https://help.esensoft.com/doc-view-39.html
sql数据源调用存储过程执行:https://bbs.esensoft.com/thread-134369-1-1.html