ITPub博客

首页 > 数据库 > Oracle > ORACLE复制旧表到新表

ORACLE复制旧表到新表

原创 Oracle 作者:muxinqing 时间:2014-04-22 12:55:51 0 删除 编辑

create table newtable as select * from oldtable     数据一起复制   

 create table newtable as select * from oldtable where 1=2     复制空表 

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

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29065182/viewspace-1146792/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2014-01-14

  • 博文量
    143
  • 访问量
    1248173