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 MAY 24, 2018

Applies to:

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

Symptoms

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.  

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.