更新时间:2024-04-28 GMT+08:00

全局临时表

全局临时表迁移为本地临时表。

输入:GLOBAL TEMPORARY TABLE

CREATE GLOBAL TEMPORARY TABLE
"Pack1"."GLOBAL_TEMP_TABLE"
                     
( "ID" VARCHAR2(8)
                                       
) ON COMMIT DELETE ROWS ;

输出

CREATE
     LOCAL TEMPORARY TABLE
         
"Pack1_GLOBAL_TEMP_TABLE" (
              
"ID" VARCHAR2 (8)
          )
           ON COMMIT PRESERVE ROWS ;