My Oracle Support Banner

Managed ODP.NET Provider Fails With ORA-1008 Error While Executing SELECT Statement With Single Quote And Bind Variable (Doc ID 2169794.1)

Last updated on JANUARY 29, 2022

Applies to:

Oracle Data Provider for .NET - Version 12.1.0.1 and later
Microsoft Windows x64 (64-bit)
Microsoft Windows (32-bit)

Symptoms

Managed ODP.NET provider throws "ORA-1008 not all variables bound" error, while executing a SELECT statement which includes single quoted string constant and bind variable.

Issue can be reproduced using the below code.

Database Script:

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!


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.