My Oracle Support Banner

Ref Cursor with Execute Immediate fails with ORA-604 / ORA-1001 or ORA-600 (Doc ID 1325439.1)

Last updated on FEBRUARY 09, 2019

Applies to:

PL/SQL - Version 10.2.0.5 and later
Information in this document applies to any platform.

Symptoms

 

Key symptoms:
- ref cursor bind to EXECUTE IMMEDIATE
- works in 10.2.0.4; fails in later versions
- fails with ORA-604 / ORA-1001 or ORA-600: [pevmsql.c: MOVCR:table function] depending on platform

 


SQL> BEGIN TEST_INV_CUR.THIS_FAILS(:V_MYCUR); END;


*
ERROR at line 1:
ORA-00604: error occurred at recursive SQL level 1
ORA-01001: invalid cursor

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.