My Oracle Support Banner

No Data Returned to Query in PL/SQL When CURSOR_SHARING=SIMILAR/FORCE After Upgrade to (Doc ID 1378424.1)

Last updated on FEBRUARY 17, 2022

Applies to:

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


When executing a stored procedure that tries to insert a row of data which is selected from the local database, but inserted into the remote Oracle Database, results in 0 rows inserted and no errors. The insert statement can be executed outside of Pl/SQL and insert 1 row of data into the remote table. During examination of the database trace it shows bind variables added to the sql, even though there are no bind variables in their sql. Cursor_Sharing set to similar on the local Oracle Database.


Upgrade the Oracle Database from version to version


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

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