数据仓库服务 GAUSSDB(DWS)-全局临时表

时间:2024-10-26 11:41:27

全局临时表

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

输入: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 ;
support.huaweicloud.com/tg-dws/dws_mt_0212.html