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




Hi All,
I was trying to use DBMS_RECTIFIER_DIFF.DIFFERENCES to find out the
difference between two tables (one having all the historical data and other
having only the last 3 months data). Below is the where clause which I am
using but it is not working.

Does anybody know if we can use functions like add_months or quotes within


sname1 => 'ROBOTAG',

oname1 => 'T_INFO',

reference_site => 'RBTD.WORLD',

sname2 => 'ROBOTAG',

oname2 => 'T_MISC_INFO',

comparison_site => 'DWHP.WORLD',

where_clause => '(tag_id in (select tag_id from robotag.t_tag where
stop_datetime < add_months(trunc(sysdate,'MONTH'),-2)))',

column_list => '',

missing_rows_sname => 'dgupta',

missing_rows_oname1 => 'MR_T_INFO',

missing_rows_oname2 => 'MR_LOC_T_INFO',

missing_rows_site => 'DWHD.WORLD',

max_missing => 500,

commit_rows => 50);



SQL> /

where_clause => '(tag_id in (select tag_id from robotag.t_tag where
stop_datetime < add_months(trunc(sysdate,'MONTH'),-2)))',


ERROR at line 8:

ORA-06550: line 8, column 111:

PLS-00103: Encountered the symbol "MONTH" when expecting one of the

. ( ) , * @ % & = - + < / > at in is mod not rem

<an exponent (**)> <> or != or ~= >= <= <> and or like

between ||

The symbol ". was inserted before "MONTH" to continue.