info 中调用ORACLE 存储过程

INFO 调用ORACLE存储过程
1. CMN_1022  WRITER_1_1_1> CMN_1022 Database driver error...
    解释:This problem is an orcle 8i defect. It has been resolved in orcle 9i. The workaround is

to run the session in Normal mode. To do so, in Workflow Manager navigate to the Targets window,

and change the Target Load type to Normal.(Workflow 中session 中 Mapping页中,新建时的load Type改为

normal )

2.调用ORACLE 存储过程式是用 begin  pro_name; end;
   此时会报错:CMN_1022 [begin pro_name FnName: Execute Direct -- [Oracle][ODBC][Ora]ORA-

06550:XXXPLS-00103: 出现符号 "end-of-file"在需要下列之一时::= . ( @ % ;
   解译:solution:
     I found out by trial and error that Informatica has a problem with linefeeds appearing

inside the anonymous block. Therefore, the correct call is:
         BEGIN ITDBOPS.PKG_RCCL_DBOPS.PROC_TRUNCATE_TABLE('STGMKT','STG_CONSUMER_ANALYTICS')/;

END/;
   我发现通过试错出的Informatica有一个内部的匿名块出现换行符的问题。
         使用 begin pro_name/;end/;

此时完成以上两个原因,应该就可以顺序执行在info 中调用 orcle 存储过程。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值