Oracle 表结构及数据复制

2015-04-27 0 675
Oracle 表结构及数据复制
--只复制表结构
create table studentTemp as select * from student where 1=2;--条件为假 未得到数据

--复制已有表数据到新表
insert into studentTemp select * from student;

insert into studentTemp(...) select ... from student;


--复制表结构与数据
create table copyStudent as select * from student;


insert into copyStudent select * from student;

遇见资源网 sql Oracle 表结构及数据复制 http://www.ox520.com/17625.html

上一篇: ORACLE表分区
下一篇: 实现杨辉三角
常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务