数据字典总结

数据字典视图主要可分为三类
dba - 所有方案包含的对象信息
all - 用户可以访问的对象信息
user -用户方案的对象信息
举例
--查看当前用户拥有的所有表的名字
select table_name from user_tables;
--查看当前用户可以访问的所有表的名字
select table_name from all_tables;
--查看当前用户拥有的所有对象的类型
select distinct object_type from user_objects;
--查看所有用户拥有的所有对象的类型
select table_name from dba_tables;

你可能感兴趣的:(数据字典)