Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-06553: PLS-561: character set mismatch on value for parameter 'STR1'

366130Nov 6 2002
ORA-06553: PLS-561: character set mismatch on value for parameter 'STR1'

Some reports started failing that had previously worked ok; they gave the above error. We are unaware of any database or code changes that might have triggered this and there is nothing in the alert log or the trace directories that appears relevant.

As a test we created a function:

FUNCTION
test(
str1 in ccm.collector_ranges.start_range%type,
str2 in ccm.collector_ranges.start_range%type) return varchar2 is
begin
return str1||str2;
end test;

and ran the following queries:

select vcpreport.test(ccm.collector_ranges.start_range,'xy') from ccm.collector_ranges
*
ERROR at line 1:
ORA-06553: PLS-561: character set mismatch on value for parameter 'STR1'

and ...

select vcpreport.test(to_char(ccm.collector_ranges.start_range),'xy') from ccm.collector_ranges;

Which returned rows ok.

Does anyone know what is causing this error?

Database is 81700 on HPUX 11
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 2 2003
Added on Nov 6 2002
1 comment
365 views