My Oracle Support Banner

Getting Error "ORA-06511: PL/SQL: CURSOR ALREADY OPEN" when Calling a Function Repeatedly (Doc ID 1916446.1)

Last updated on FEBRUARY 24, 2021

Applies to:

Oracle SQL Developer - Version 4.0 and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When a function is called repeatedly in SQL Developer, it fails with the following errors:
SQL Error: ORA-20200: WS_T_GWSGENERIC_GETCOUNTRYLST_01#Erreur recherche liste des Pays.ORA-06511: PL/SQL: cursor is al open.
ORA-06512: in "SCOTT.PK_GLOBALWS_GENERIC_DEBUG", regel 58

Changes

 

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!


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