----------------------------------------------------------事务级别临时表 create global temporary table TEMP_TAX ( AGENTCODE VARCHAR2(20),COMMISSION NUMBER(14,4),SETTLENO VARCHAR2(20),TAX_001 VARCHAR2(20),TAX_002 VARCHAR2(20),TAX_003 VARCHAR2(20),TAX_004 VARCHAR2(20),TAX_005 VARCHAR2(20),TAX_006 VARCHAR2(20),TAX_007 VARCHAR2(20),TAX_008 VARCHAR2(20),TAX_009 VARCHAR2(20),TAX_010 VARCHAR2(20) ) on commit delete rows;
----------------------------------------------------------会话级别临时表 CREATE GLOBAL TEMPORARY TABLE admin_work_area (startdate DATE,enddate DATE,class CHAR(20)) ON COMMIT PRESERVE ROWS;