My Oracle Support Banner

Precompilers Issue Duplicate Bind Variables Wrongly When Same Placeholder Is Used Repeatedly in One SQL (Doc ID 2398995.1)

Last updated on MARCH 04, 2019

Applies to:

Precompilers - Version to [Release 11.2 to 12.1]
Information in this document applies to any platform.


Precompilers (Pro*C/Pro*COBOL) issue duplicate bind variables wrongly to the database when the same placeholder is used repeatedly in one SQL.
An example of a SQL is like below; 'employee_no' is the name of a placeholder and is used repeatedly.

This behavior affects an execution plan generated from the optimizer, so that this can cause a performance problem.  


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.