My Oracle Support Banner

Binding Two Variables With Same Name Fails With ORA-01006 (Doc ID 2466791.1)

Last updated on JULY 20, 2024

Applies to:

PL/SQL - Version 12.2.0.1 and later
Generic (Platform Independent)

Symptoms

Creating PROCEDURE with two bind variables and binding two values with same bind variable name fails with ORA-1006. When binding only one value it gets bound to the two bind variables.

Here is the sample code :

 

Changes

Applied to all database versions.

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!


In this Document
Symptoms
Changes
Cause
Solution
References


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