PLS-00306: 调用 'SYNCRN' 时参数个数或类型错误

System.Data.OracleClient.OracleException (0x80131938):

ORA-00604: 递归 SQL 级别 1 出现错误 ORA-06550: 第 1 行, 第 7 列:

PLS-00306: 调用 'SYNCRN' 时参数个数或类型错误 ORA-06550: 第 1 行, 第 7 列:

PL/SQL: Statement ignored 在 System.Data.OracleClient.OracleConnection.CheckError

 

解决方法:

alter session set current_schema=CTXSYS; 

create or replace procedure syncrn (
  ownid IN binary_integer,
  oname IN varchar2,
  idxid IN binary_integer,
  ixpid IN binary_integer,
  rtabnm IN varchar2,
  srcflg IN binary_integer,
  smallr IN binary_integer
)
  authid definer
  as external
  name "comt_cb"
  library dr$lib
  with context
  parameters(
    context,
    ownid  ub4,
    oname  OCISTRING,
    idxid  ub4,
    ixpid  ub4,
    rtabnm OCISTRING,
    srcflg ub1,
    smallr ub1
);

posted @ 2017-04-26 14:01  释迦苦僧  阅读(3171)  评论(0编辑  收藏  举报