现在有个动态SQL,
select的值不定,
select type,eqpid1,epqid2,epqid3...
from temp;
根据条件有可能查到eqpid3,有可能查到eqpid10 也可能到eqpid30
在编译pkg的时候碰到问题,
如果将游标放在declare中时,cursor不支持动态sql
cursor c_data is
selec ...
↧