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
);


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM