基于事务和会话的临时表
星期二, 十一月 20th, 2007[oracle@devel1 ~]$ sqlplus /nolog
SQL*Plus: Release 10.2.0.1.0 – Production on Tue Nov 20 14:30:08 2007
Copyright (c) 1982, 2005, Oracle. All rights reserved.
SQL> conn scott/tiger
Connected.
SQL> create global temporary table temp_table_session
2 on commit preserve rows
3 as
4 select * from scott.emp where 1=0
5 /
Table created.

