oracle user_users,dba_users,all_users
(2010-07-26 09:34:44) 标签: 杂谈 |
ALL_USERS
ALL_USERS lists all users of the database visible to the current user. This view does not describe the users (see the related views).
Related Views
-
DBA_USERSdescribes all users of the database, and contains more columns thanALL_USERS. -
USER_USERSdescribes the current user, and contains more columns thanALL_USERS.
DBA_USERS
DBA_USERS describes all users of the database.
Related View
USER_USERS describes the current user. This view does not display the PASSWORD or PROFILE columns.
| Column | Datatype | NULL | Description |
|---|---|---|---|
USERNAME | VARCHAR2(30) | NOT NULL | Name of the user |
USER_ID | NUMBER | NOT NULL | ID number of the user |
PASSWORD | VARCHAR2(30) | | Encrypted password |
ACCOUNT_STATUS | VARCHAR2(32) | NOT NULL | Account status:
|
LOCK_DATE | DATE | | Date the account was locked if account status wasLOCKED |
EXPIRY_DATE | DATE | | Date of expiration of the account |
DEFAULT_TABLESPACE | VARCHAR2(30) | NOT NULL | Default tablespace for data |
TEMPORARY_TABLESPACE | VARCHAR2(30) | NOT NULL | Name of the default tablespace for temporary tables or the name of a tablespace group |
CREATED | DATE | NOT NULL | User creation date |
PROFILE | VARCHAR2(30) | NOT NULL | User resource profile name |
INITIAL_RSRC_CONSUMER_GROUP | VARCHAR2(30) | | Initial resource consumer group for the user |
EXTERNAL_NAME | VARCHAR2(4000) | | User external name |
See Also:
USER_USERS
USER_USERS describes the current user. Its columns (except for PASSWORD and PROFILE) are the same as those in DBA_USERS.
See Also:
"DBA_USERS"
forget it.....上述都是官方的,看看如下民间总结的吧:
在Oracle中DBA_*、ALL_*以及USER_*的区别
DBA_*意为DBA拥有的或可以访问的所有的对象。
ALL_*意为某一用户拥有的或可以访问的所有的对象。
USER_*意为某一用户所拥有的所有的对象。
本文详细解释了Oracle数据库中的三个用户视图:ALL_USERS、DBA_USERS和USER_USERS的功能及区别,并提供了各视图的列信息说明。
529

被折叠的 条评论
为什么被折叠?



