Focal Point
Creating temporary tables in DB2

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/1921060041

December 01, 2005, 05:41 PM
Celestun
Creating temporary tables in DB2
I need to create a Global Temporary Tabe in DB2 (this is comparable to a Focus hold file).
The syntax for this begins DECLARE GLOBAL TEMPORARY TABLE...

Apparently, the for DB2 adapater DELCARE is a reserved word. Consequently, the adapter hiccups and nothing but an error message occurs.

I need a DB2 table that will disappear when I am finished with it. I need a DB2 table that will not raise the ire or incur the wrath of the DBA.

Any ideas?
December 02, 2005, 02:49 PM
dhagen
Maybe a DB2 Stored Procedure?
December 04, 2005, 04:16 PM
GCohen
If you write permission to DB2 then you can
try in the Table..
ON TABLE HOLD AS name FORMAT DB2


Release 7.6.9
Windows
HTML