我要从我之前创建的ODI调用PL SQL存储过程。为了解决此问题,通过在Internet上对该主题进行彻底的搜索,我发现我应该执行以下步骤:
begin schema.myproc(with param) end;
放在该任务中。因此,它是:
begin
my_schema.procedure_name(20200701)
end;
现在,完成上述所有步骤后,由于无法找到解决方案,因此发生了以下错误,使我感到困惑。
ODI-1228: Task Procedure-test-task1 fails on the target connection PHY_PARSDB.
Caused By: java.sql.SQLException: ORA-06550: line 3, column 1:
PLS-00103: Encountered the symbol "END" when expecting one of the following:
:= . ( % ;
那么,有人可以帮助我解决这个问题吗?
你忘了 ;
正确的代码是:
begin
my_schema.procedure_name(20200701);
end;
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句