All Oracle Error Codes
Oracle DBA Forum

Frequent Oracle Errors

TNS:could not resolve the connect identifier specified
Backtrace message unwound by exceptions
invalid identifier
PL/SQL compilation error
internal error
missing expression
table or view does not exist
end-of-file on communication channel
TNS:listener unknown in connect descriptor
insufficient privileges
PL/SQL: numeric or value error string
TNS:protocol adapter error
ORACLE not available
target host or object does not exist
invalid number
unable to allocate string bytes of shared memory
resource busy and acquire with NOWAIT specified
error occurred at recursive SQL level string
ORACLE initialization or shutdown in progress
archiver error. Connect internal only, until freed
snapshot too old
unable to extend temp segment by string in tablespace
Credential retrieval failed
missing or invalid option
invalid username/password; logon denied
unable to create INITIAL extent for segment
out of process memory when trying to allocate string bytes
shared memory realm does not exist
cannot insert NULL
TNS:unable to connect to destination
remote database not found ora-02019
exception encountered: core dump
inconsistent datatypes
no data found
TNS:operation timed out
PL/SQL: could not find program
existing state of packages has been discarded
maximum number of processes exceeded
error signaled in parallel query server
ORACLE instance terminated. Disconnection forced
TNS:packet writer failure
see ORA-12699
missing right parenthesis
name is already used by an existing object
cannot identify/lock data file
invalid file operation
quoted string not properly terminated

RE: ORA-24347 Error

Mark W. Farnham


no specific knowledge on this one, BUT -- *often* the problem with
interactive working versus anything else not working is the environment,
especially including the search path for commands.

The other possibility that occurs to me (since it dies) is that via the
toolset they have a wrapper in there somewhere that traps warnings and dies
whereas the other pathways may be warning tolerant. Maybe they have a switch
for tolerance level, although I'm not sure you *want* a report that counts
(or discounts) the undefined value in an aggregate as anything but a NULL
(undefined) result. What is, after all, the average of 1, 2, 3, and "I don't
Still, I suppose there are uses for getting aggregate functions on the known
values of a set of rows as long as you know that is what you're doing.

I'm also wierded out by the error message -- do they mean a nullable column,
or a NULL value found in a column, or an entire column has NULL values for
the rows selected? (Don't respond to this musing, I know I can just look it
up, but I find the expression "NULL column" to be annoying.)


-----Original Message-----
From: oracle-l-bounce@(protected)
Sent: Wednesday, June 16, 2004 9:41 AM
To: oracle-l@(protected)
Subject: ORA-24347 Error

First up my hopes of getting to the bottom of this are fairly slim
(because I can't get at the code), but I figure that there are enough
smart folk here that someone may have seen similar behaviour before.

Our ERP supplier sells a (really quite good) MsExcel add-in that can
be used to query the database and return purty reports. This can be
run interactively (by report designers) or via ole automation (by a
report scheduler).

Our report designers have updated one of the suite of management
reports and it runs just fine when run interactively. When scheduled
however the log that the add-in produces shows this

select v.dim4 AS workord,   decode(v.dim5,' ','NA',v.dim5) AS
activity,   dBF.description AS
   workord_text,   NVL(v.chrg_stat, 'UNASSIGNED') AS chg_stat,
jct.description AS job_code_text,
    act.description AS activity_text,   v.period AS period,
SUM(v.value_1) AS value_1
   ,MIN(icp.icp_1) AS icp_1,MIN(icp.icp_2) AS icp_2,MIN(icp.icp_3)
AS icp_3,MIN(icp.icp_4) AS
   icp_4,MIN(icp.icp_5) AS icp_5,MIN(icp.icp_6) AS
icp_6,MIN(icp.icp_7) AS icp_7,MIN(icp.icp_8) AS
   icp_8,MIN(icp.icp_9) AS icp_9,MIN(icp.icp_10) AS
icp_10,MIN(icp.icp_11) AS icp_11,MIN(icp.icp_12)
   AS icp_12,MIN(icp.icp_13) AS icp_13,MIN(icp.icp_14) AS
icp_14,MIN(icp.icp_15) AS
   icp_15,MIN(icp.icp_16) AS icp_16,MIN(icp.icp_17) AS
icp_17,MIN(icp.icp_18) AS
   icp_18,MIN(icp.icp_19) AS icp_19,MIN(icp.icp_20) AS
icp_20,MIN(icp.icp_21) AS
   icp_21,MIN(icp.icp_22) AS icp_22,MIN(icp.icp_23) AS
icp_23,MIN(icp.icp_24) AS icp_24
   ,MIN(icp.icp_1) AS icp_curper   FROM agldescription dBF,
agldescription act, aglrelvalue jc,
   agldescription jct  ,uhsicpdetail icp, uvidaenq3_chgstat v
WHERE v.client = 'AC' AND v.period
   >= 200501 AND v.period <= 200501 AND v.dim2 IN ('1010', '1011',
'3010', '3110')   AND (dBF.client
   = v.client AND dBF.attribute_id = 'BF' AND dBF.language = 'EN'
AND dBF.dim_value = v.dim4)   AND
   (jc.client = v.client AND jc.attribute_id = 'B1' AND
jc.rel_attr_id = 'RA'   AND decode(v.dim5,'
   ','NA',v.dim5) BETWEEN jc.att_val_from AND jc.att_val_to)   AND
(jct.client = jc.client AND
   jct.attribute_id = jc.rel_attr_id AND jct.language = 'EN' AND
jct.dim_value = jc.rel_value)   AND
   (act.client = v.client AND act.attribute_id = 'B1' AND
act.language = 'EN' AND act.dim_value =
   decode(v.dim5,' ','NA',v.dim5))   AND v.dim6 = '000225'  AND
(icp.client(+) = v.client  AND
   icp.resource_id(+) = v.dim6  AND icp.chrg_stat(+) = v.chrg_stat
AND icp.fiscal_year(+) =
   v.fiscal_year)   GROUP BY v.chrg_stat, jct.description,
v.dim4,decode(v.dim5,' ','NA',v.dim5),
   dBF.description, act.description, v.period   ORDER BY
v.chrg_stat, jct.description, v.dim4,
   decode(v.dim5,' ','NA',v.dim5), dBF.description, act.description,
0.16: Cursor opened.
14:15:56    > ORA-24347: Warning of a NULL column in an aggregate function

and the process dies.

If I run the offending sql through sqlplus it runs successfully. If we
run the report interactively it completes successfully. If I try to
capture the error either through an event or my trigger :( I get
nothing. I shall of course be logging support calls with both the
vendor and Oracle,. but if anyone else has encountered this before I'd
be grateful for any pointers. I am aware that this is a 'warning'
rather than an 'error'.

Environment DataServer, Client ODBC Driver All
on Win2k sp3.


Niall Litchfield
Oracle DBA
Please see the official ORACLE-L FAQ: http://www.orafaq.com
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html

Please see the official ORACLE-L FAQ: http://www.orafaq.com
To unsubscribe send email to: oracle-l-request@(protected)
put 'unsubscribe' in the subject line.
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html