oracle中ALL_TABLES、DBA_TABLES、USE
2017-06-27 本文已影响0人
是阿离
- DBA_TABLES 显示的是数据库中所有表(所有表DBA都可以操作)
- ALL_TABLES 显示与当前用户可访问的表
- USER_TABLES 显示当前用户拥有的表
DBA_TABLES describes all relational tables in the database
ALL_TABLES describes the relational tables accessible to the current user
USER_TABLES describes the relational tables owned by the current user. This view does not display the OWNER column
在*_TABLES中,所有表名都是大写的,可以使用upper()。