Just did some tests and it seems that a CREATE TABLE QTEMP.xx is not
registered in the system catalog either (at least, the table name does not
appear in SYSTABLES).
What I think is that a DECLARE'd table seems to be more "SQL-friendly" than
the ones created in a more conventional way. You can, for example, do a
ROLLBACK against a GLOBAL TEMPORARY TABLE, which is, of course, not
possible when using a "traditional" QTEMP table.
This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact