Precompilers Issue Duplicate Bind Variables Wrongly When Same Placeholder Is Used Repeatedly in One SQL

(Doc ID 2398995.1)

Last updated on MAY 24, 2018

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.  




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 hundreds of Community platforms