Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Re: regarding Temp. Table
from the docs:
http://technet.oracle.com/docs/products/oracle8i/doc_index.htm
use the DBMS_SQL.
c number;
n number;
BEGIN
c:= dbms_sql.open_cursor;
dbms_sql.parse(c, 'create TEMPORARY table BLAH;', dbms_sql.native);
n := dbms_sql.execute(c);
dbms_sql.close_cursor(c);
END;
dbms_sql();
use the GLOBAL TEMPORARY to give it global (vs. session) scope.
--
-cheers
DW
Sent via Deja.com
http://www.deja.com/
Received on Tue Jan 09 2001 - 10:42:41 CST
![]() |
![]() |