Last updated on JULY 05, 2017
Applies to:PL/SQL - Version: 18.104.22.168.0
This problem can occur on any platform.
There are two procedures p1 and p2 which take in a sys_refcursor variable as in out parameters.
One of the procedures (p1) does nothing but simply call the other procedure (p2) which opens the refcursor with a select statement. When we call p2 directly it works as expected whereas calling p1 fails
with following error.
ORA-06504: PL/SQL: Return types of Result Set variables or query do not match
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms