"strSql :='select * from tcs.department where tcs.department.DEPNAME=:temp1';
open dep_cur for strSql using depName;"
--Oracle中就是这么用的啊. 语句中有一个参数,执行的时候就用depName来替代那个参数.,
open dep_cur for strSql using depName;"
--Oracle中就是这么用的啊. 语句中有一个参数,执行的时候就用depName来替代那个参数.,
open dep_cur for strSql using depName;
用depName来替换:temp1,这是oracle中的参数邦定,这样的语句执行的效率高。
不知道为什么!!