After the database upgrade report ORA-06550, PLS-00306 Problem Solving

Platform: Windows

The new library version: Oracle 11.2.0.4

Upgrade: software upgrade

After upgrading to 11.2.0.4 through software, the statement when the query involves more blob, clob field when, will report ORA-06550, PLS-00306: call 'SYNCRN' when the number of parameters or the wrong type, the problem is a bug problem can be solved by the following method:

Plsql login with database, and then complete the following two steps, pay attention to the contents of two steps required to complete in the same window:

(1)alter session set current_schema=CTXSYS;

(2) to recompile the stored procedure:

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

);

/

After the above steps are completed, you can solve the problem of error.

Guess you like

Origin www.linuxidc.com/Linux/2019-09/160693.htm