by shigemk2

当面は技術的なことしか書かない

テーブルのデータをまるっと別のテーブルに移す

たぶんいくつかあると思うけども、

alter tableを使ってrenameするとか、

alter table table1 rename to rename2;

insert と selectで丸コピするとか。

insert into table2 select * from table1;
create table table2 as select * from table1;

http://www.mitene.or.jp/~rnk/TIPS_ORCL_INSERT.htm