查看所有的表:
1.select table_name from all_tables;
2.select object_name from all_object where object_type=‘TABLE;
oracl
经实验,表明ALL_TABLES中不含被删除但还没清空的表,而ALL_OBJECTS中则包含所有。
在Oracle中查看所有的表:
select * from tab/dba_tables/dba_objects/cat;
看用户建立的表 :
select table_name from user_tables; //当前用户的表
select table_name from all_tables; //所有用户的表
select table_name from dba_tables; //包括系统表