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

Problem with dates...

Steve Jelfs


Why does this return ok:

SQL> select * from (select
revdate, s.status,town
2 from site_details s,
3 where revwyear is not
4 and s.cllocn=a.clloc
5 and a.outcome is nul
6 and revwmonth is not
7 and revwmonth!=' ');
494 rows selected.

but this fails?

SQL> ed
Wrote file afiedt.buf
1 select * from (select s.cllocn ,a.actdept, coname,to_date(revwmonth||'
'||revwyear,'Mon yyyy')
2 from site_details s, activity a
3 where revwyear is not null
4 and s.cllocn=a.cllocn
5 and a.outcome is null
6 and revwmonth is not null
7 and revwmonth!=' ')
8* where revdate between to_date('01022004','ddmmyyyy') and
SQL> /
select * from (select s.cllocn ,a.actdept, coname,to_date(revwmonth||'
'||revwyear,'Mon yyyy') revda
ERROR at line 1:
ORA-01843: not a valid month

When all I've done is add a condition to the inline views date. Running the
inline view on it's on does return valid dates for all rows (how else could
it to_date() them!).

Any pointers to what's happening here would be gratefully received!