My Oracle Support Banner

Query With Comments Embedded in Them Fails With ORA-24374 (Doc ID 2438029.1)

Last updated on AUGUST 28, 2018

Applies to:

Oracle ODBC Driver - Version 12.1.0.1 to 12.1.0.2 [Release 12.1]
Generic Linux

Symptoms

When using UnixODBC driver manager version 2.3.6, Any query beginning with a comment fails with the following error:


[Oracle][ODBC][Ora]ORA-24374: define not done before fetch or execute and fetch.


SQL query used:

The same code works fine in earlier versions like 11.2.0.4

Changes

 Oracle client upgraded from 11.2.0.4 to 12.1.0.1

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.