My Oracle Support Banner

Unexpected Warning (ORA-24347) is Returned by Database to Clients PROC and OCI (Doc ID 2430361.1)

Last updated on OCTOBER 19, 2020

Applies to:

Precompilers - Version 12.2.0.1 to 12.2.0.1 [Release 12.2]
Information in this document applies to any platform.

Symptoms

Database returns unexpected warning (ORA-24347 Warning of a NULL column in an aggregate function) from the client program (PROC/OCI), when it uses aggregate function on a column which has Index on it. The same query runs fine when executed from sqlplus.

It can be explained with the help of below example

compile the attached code as below

 

Changes

 Upgraded to 12.2.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.