Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Glo temp table - when to use 'On commit preserve rows'?

Glo temp table - when to use 'On commit preserve rows'?

From: dean <deanbrown3d_at_yahoo.com>
Date: 8 Jun 2006 21:06:39 -0700
Message-ID: <1149825999.687004.251640@f6g2000cwb.googlegroups.com>


Hello all,

I was caught once again for leaving off the 'on commit preserve rows' part of the create global temporary table statement. After an hour of headscratching I realized that I had left this part off,, and as usual as soon as I inserted rows into a table, the disappeared into thin air (that is, even in the same session).

Could someone explain this to me? It appears I do not need to 'commit' to re-use the (data in my session), even if I have on commit preserve rows. And if I don't have that, my data isn't even available during my session, even after I insert some rows into the table.

Thanks for any help,

Dean Received on Thu Jun 08 2006 - 23:06:39 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US