orcale 匿名代码块
Posted fashflying
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了orcale 匿名代码块相关的知识,希望对你有一定的参考价值。
declare cursor readflow_cur is select * from od_readflow t where t.flowid is null; l_emp od_readflow%rowtype; begin open readflow_cur; loop fetch readflow_cur into l_emp; exit when readflow_cur%notfound; update od_readflow r set r.flowid = (select d.flow_id from od_docinfo d where d.bill_id = l_emp.flowinstanceid) where r.readid = l_emp.readid; end loop; commit; close readflow_cur; end;
以上是关于orcale 匿名代码块的主要内容,如果未能解决你的问题,请参考以下文章