首页 > 数据库 > Oracle > oracle sql语句
--直接建相同的表
create table students_backup as select * from students;
--直接建相同的表结构
create table students_backup as select * from students where 1=2;
--如果建好了表
insert into students_backup select * from students
--查看数据库启动状态
select status from v$instance;
--查看默认表空间
select username,default_tablespace from dba_users;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/29452173/viewspace-1074081/ ,如需转载,请注明出处,否则将追究法律责任。