|
本帖最后由 yulihua49 于 2015-9-17 20:33 编辑
我们需要:
select * from table where some_col in (x,y,z......10000 个 在OCI,使用:
select * from table where some_col=:1
然后绑定10000个值。看起来很美,可惜不行。
下边的语句: 你把条件值和返回值都绑定成数组,条件是主键的全集。
update table set col1=col1 where some_col = :1 returning rowid into :2
具体需求见12楼。
|
|