create table new_table_nameas
( select * from table_name ) definitiononly;
2、創建物化查詢表(MQT)
create table new_table_nameas
( select * from table_name )
datainitially deferred refresh deferred;
refresh table new_table_name;
注意:物化表類似一個查詢,沒有真正形成表,類型顯示為Query。但它完全可以當表來用。
3、復制表結構
create table new_table_name like table_name;
From:http://tw.wingwit.com/Article/program/DB2/201404/30293.html