ORACLE複製舊錶到新表

muxinqing發表於2014-04-22

create table newtable as select * from oldtable     資料一起復制   

 create table newtable as select * from oldtable where 1=2     複製空表 

inster into newtable select * from oldtable; 舊錶插入新表

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29065182/viewspace-1146792/,如需轉載,請註明出處,否則將追究法律責任。

相關文章