Oracle 表结构及数据复制
发布时间:2020-12-31 08:28:46 所属栏目:编程 来源:网络整理
导读:本日PHP站长网 52php.cn把网络自互联网的代码分享给各人,仅供参考。 --只复制表布局create table studentTemp as select * from student where 1=2;--前提为假 未获得数据--复制已有表数据到新表insert into studentTemp
以下代码由PHP站长网 52php.cn网络自互联网 此刻PHP站长网小编把它分享给各人,仅供参考 --只复制表布局 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; 以上内容由PHP站长网【52php.cn】网络清算供各人参考研究 假如以上内容对您有辅佐,接待保藏、点赞、保举、分享。 (编辑:湖南网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |