Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Global Temporary Table - Erratic results?
Deltones wrote:
> Frank van Bortel wrote:
> > It's the style of the script I have to modify, not mine. The main query > to create the first temp table is an 800 lines abomination :) > > As for the duration of the session, I get that, but here what I mean. I > run the script, I get my results. Then I run the same script, let's say > 15 seconds later, I don't get anything. > > But with the regular "create table" version, I get my results every > time. That's what confuses me.
There are two different types of Global Temporary Tables. Go to http://tahiti.oracle.com and read up on them and Morgan's Library for demo code to understand how they work.
A GTT is a premanent object. You build it once and never again. It is not part of the script.
This is Oracle not some other product. To be successful you need to read and you need to do things Oracle's way.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Mon Aug 21 2006 - 16:02:04 CDT
![]() |
![]() |