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

trigger problem

David Boyd


Hi List,

I created a trigger that inserts an entry into an audit table for each row
OR DELETE on following table:

col1     NUMBER(10)     NOT NULL,
col2     NUMBER(10)     NOT NULL,
col3     CHAR(8 BYTE)   NOT NULL,
col4     CHAR(8 BYTE)   NOT NULL,
col5     CHAR(8 BYTE)   NOT NULL,
col6     NUMBER(10)     NOT NULL,
col7     NUMBER(6,2),
col8     NUMBER(10),
col9     NUMBER(10),
col10     NUMBER(10),
col11             NUMBER(10),
col12               NUMBER(10),
col13               NUMBER(10),
col14               NUMBER(10),
col15               NUMBER(5,2),
col16               VARCHAR2(4000 BYTE),
col17               VARCHAR2(4000 BYTE),
col18               NUMBER(2),
col19               CHAR(1 BYTE)

The trigger inserts an entry for updating on each field and for each field
on deleting if the field is not null. So the trigger is 237 lines long.
When I tried to delete a record from the test table that each field has a
value, I got following error:

ORA-06502: PL/SQL: numeric or value error: number precision too large

I know the error is not related to the length of field. I can delete some
records that a part of fields have value successfully. It seems to me the
trigger buffer is too small. Some books indicate each trigger must be less
than 32K in size. I did not have any issue to compile the trigger. Does
32K also include the contents when the trigger fires?

Thanks for any advice.


FREE pop-up blocking with the new MSN Toolbar ? get it now!