oracle快速複製一個表

1.快速全量複製一張表

create table table_a_bak as select * from table_a;

2.篩選部分字段創建一張新表

create table table_a_bak as select id,name from table_a where id < 10000;

3.整合所需資源新建一張表

create table table_a_bak as select a.id,a.name,b.info from table_a a,tab_b b where a.id=b.aid;

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章