oracle 基本sql语句

1。查找所有的表

     select   *   from   user_tables 

2.表结构复制

Insert into SYSTEM.LS_CP select * from SYSTEM.SS_CP2


create   table   System.Ls_Cp   as   select   *   from   system.ss_cp2   where   1=   1 

3。表数据复制

Insert into SYSTEM.LS_CP select * from SYSTEM.SS_CP2

4。表删除 

drop table system.ls_cp

drop table system.ss_cp2

5。表数据清空

truncate table system.ls_cp 


原文地址:https://www.cnblogs.com/xianqingzh/p/1731059.html