My Oracle Support Banner

Poor query performance via ODP.NET when binding DbType.DateTime to a DATE column. (Doc ID 1482097.1)

Last updated on JULY 05, 2017

Applies to:

Oracle Data Provider for .NET - Version 10.2.0.2.20 and later
Information in this document applies to any platform.

Symptoms

A query using a bind variable for DATE datatype in a WHERE clause may behave poorly when issued via ODP.NET, whereas issuing the same query with a literal rather than a bind variable results in very fast execution.

The beahvior cannot be reproduced (or tested) via SQLPlus, as SQLPlus does not allow the use of DATE bind variables.

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
Cause
Solution
References

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.