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: Quick compare of PL/SQL records

Mladen Gogala



On 04/29/2005 09:23:41 AM, Ranko Mosic wrote:
> Yes, I know what manual says - that's why I am posting the question here.=
> =3D20
> The thing is, I need to compare about 100 types of records with dozens of=
> =3D20
> attributes each. I would like to be able to avoid field level
> comparison and do it
> on record level.
> rm=3D20

Ranko, I am afraid that this isn't possible, not even in 10g which has some=
thing called
"aggregate asignment", but it still lacks aggregate comparison. You can do =
it if you=20
(Gawd, this is so hard to say!) use Java in the database instead of PL/SQL.=
Here is
a little example which DOESN'T work:
cursor csr is select * from emp1;
behead csr%rowtype;
select * into behead from emp where ename=3D'KING';
for c in csr
if (c=3Dbehead) then
 dbms_out.put_line('Got it!');
end if;
end loop;

if (behead=3Dc) then
ERROR at line 8:
ORA-06550: line 8, column 11:
PLS-00306: wrong number or types of arguments in call to '=3D'
ORA-06550: line 8, column 1:
PL/SQL: Statement ignored

Wrong types of arguments in call to '=3D'. Abandon all hope ye who enter he=

Mladen Gogala
Oracle DBA