PLS-00306: wrong number or types of arguments in call to 'SYNCRN'

Myth丶恋晨 2022-08-20 13:11 102阅读 0赞

Oracle 11g数据库上有一个存储过程报错:

-6550:ORA-06550: 第 1 行, 第 7 列:

PLS-00306: wrong number or types of arguments in call to ‘SYNCRN’
ORA-06550: 第 1 行, 第 7 列:

PL/SQL: Statement ignoredORA-06512: 在 “GCP.P_DM_GET_DATA_INCREMENT”, line 141

是全文索引的一个对象出了问题。

解决方法是:

connect / as sysdba
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
);
/

发表评论

表情:
评论列表 (有 0 条评论,102人围观)

还没有评论,来说两句吧...

相关阅读