Re: Temporary tables inside procedure

Global temporary tables are exactly for that purpose unless you see
limitaions in your case. The only advice - don't truncate them.
Truncate on GTT causes contention when done by many processes (at
least that's the case with 9.2.0.5).

2006/7/28, Harvinder Singh <Harvinder.Singh@xxxxxxxxxxxxx>:
Hi,

We have to port sql server procedures to pl/sql, In some SQL Server procedures 
the temp table is created inside the procedure and populated with data and then 
truncated at the end, in oracle we can create global temporary tables outside 
procedure and use them but we are wondering if there is any other better way to 
do this in oracle.
--
http://www.freelists.org/webpage/oracle-l





--
Best regards,
Alex Gorbachev

http://blog.oracloid.com
--
http://www.freelists.org/webpage/oracle-l


Other related posts: