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: Forall limit

Connor McDonald


Assuming you are fetching the records from somewhere in the first
place you would do something like:

open cursor
bulk collect limit 500 into r
forall i in 1 .. r.count
exit when r.count < 500
end loop
close cursor

Of course, ideally you might be better off just with "delete where ... "


On 5/12/05, cichomitiko gmail <cichomitiko@(protected):
> Thank you!
> May be I have to try something like:
>   FORALL e IN 1..1000 -- bulk-bind first part of varray
>   FORALL e IN 1001..cont_tot -- bulk-bind the rest of varray
> But I have to control the number of recors returned, so for example, if i=
> 3000, then it should be:

Connor McDonald
email: connor_mcdonald@(protected)
web:  http://www.oracledba.co.uk

"Semper in excremento, sole profundum qui variat"