oracle复制另外一张表结构到一张新表中
create table newtable as select * from oldtable where 1=2
这个sql只是把表结构copy过来 如果要把所有表结构和表数据都copy过来的话用下面的sql
create table newtable as select * from oldtable
转载自:https://blog.youkuaiyun.com/c5153000/article/details/6599869
oracle复制另外一张表结构到一张新表中
create table newtable as select * from oldtable where 1=2
这个sql只是把表结构copy过来 如果要把所有表结构和表数据都copy过来的话用下面的sql
create table newtable as select * from oldtable
转载自:https://blog.youkuaiyun.com/c5153000/article/details/6599869