December 01, 2005, 05:41 PM
CelestunCreating 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
dhagenMaybe a DB2 Stored Procedure?
December 04, 2005, 04:16 PM
GCohenIf you write permission to DB2 then you can
try in the Table..
ON TABLE HOLD AS name FORMAT DB2