Home
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: Temporary Tables - 1 of 3

GovindanK

2005-08-26

Replies:
One needs to be aware of the default behaviour of global temporary table
is on commit delete rows. We had an application requirement where in we
needed to select after we inserted rows (in our case we had to user
dynamic sql) and ended up with no data found within the same session

SQL>create global temporary table my_log_table
2 (ind  number(02) 3 ,log_date date
4 )5 --on commit preserve rows
5 /

Table created.

SQL>DECLARE
2   l_date date; 3 begin 4   EXECUTE IMMEDIATE 'insert into
my_log_table values(03,sysdate)' ; 5   commit; 6   SELECT log_date
into l_date 7          FROM my_log_table 8         WHERE
ind=03 and rownum < 2 9        ; 10
dbms_output.put_line(l_date); 11   null; 12 end;
6 /DECLARE * ERROR at line 1: ORA-01403: no data found ORA-
  06512: at line 6

SQL>
On Fri, 26 Aug 2005 11:52:23 -0400, "Aggarwal, Meenakshi"
<Meenakshi.Aggarwal@(protected):
> Does anybody know any reason of not using temporary tables in
> Oracle 9i.
>
> Thanks
> --
> http://www.freelists.org/webpage/oracle-l
--
http://www.freelists.org/webpage/oracle-l