1. 复制表结构及其数据: create table table_name_new as select * from table_name_old 2. 只复制表结构: create table table
oracle复制表结构
[日期:2014-01-06] 来源:Linux社区 作者:finefun [字体:]
1. 复制表结构及其数据:
create table table_name_new as select * from table_name_old
2. 只复制表结构:
create table table_name_new as select * from table_name_old where 1=2;
或者:
create table table_name_new like table_name_old --这个可能因版本而已,,我当时测试的时候没有成功
3. 只复制表数据:
如果两个表结构一样:
insert into table_name_new select * from table_name_old
如果两个表结构不一样:
insert into table_name_new(column1,column2...) select column1,column2... from table_name_old
Oracle中用户之间复制表数据
Oracle如何复制表的sql语句
Oracle误删除表数据后的的快速回复功能
Oracle在安装好后,突然更换ip后,监听不可用
创建Oracle 口令文件
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号