oracle创建事务级别的临时表

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hoho_12/article/details/83304936
-- Create table
create global temporary table TMP_TABLE
(
  id NUMBER(16) not null
)
on commit delete rows;
-- Create/Recreate primary, unique and foreign key constraints 
alter table TMP_TABLE
add constraint PK_TMP_TABLE primary key (ID);

猜你喜欢

转载自blog.csdn.net/hoho_12/article/details/83304936