我一般都是用shell执行的
例如 写一个SHELL为a.sh
isql -s <<%%
database db;
unload to bb.txt select * from ggxtcs where jgbm='$1';
close database;
%%
调用为a.sh 001
如果是数字型,可以把$1前后的单引号去掉
例如 写一个SHELL为a.sh
isql -s <<%%
database db;
unload to bb.txt select * from ggxtcs where jgbm='$1';
close database;
%%
调用为a.sh 001
如果是数字型,可以把$1前后的单引号去掉
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货