方式1:
create temp table tmp_tab1(id int) with no log;
方式2:
select * from tab into temp tmp_tab with no log;
相关参数:
TEMPTAB_NOLOG 1
DBSPACETEMP
本文探讨了两种常见的操作:使用CREATE TEMP TABLE在不记录日志的情况下创建临时表,以及通过SELECT *从现有表导数据到临时表。重点在于理解这两种在数据库临时存储中使用的便捷方式及其应用场景。
方式1:
create temp table tmp_tab1(id int) with no log;
方式2:
select * from tab into temp tmp_tab with no log;
相关参数:
TEMPTAB_NOLOG 1
DBSPACETEMP
1059

被折叠的 条评论
为什么被折叠?