Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

a newbie question

Status
Not open for further replies.

maswien

Technical User
Sep 24, 2003
1,286
CA

I know there are 3 kinds of dictionary views that a user can access,

dba_xxx , all the objects the dba can access
all_xxx , all the objects the current user can access
user_xxx , all the objects in user's schema

how to understand following?

dba_users, all_users, user_users

thanks
 
Masvien,

DBA_USERS: The following columns for all created users in the database:
USERNAME
USER_ID
PASSWORD
ACCOUNT_STATUS
LOCK_DATE
EXPIRY_DATE
DEFAULT_TABLESPACE
TEMPORARY_TABLESPACE
CREATED
PROFILE
INITIAL_RSRC_CONSUMER_GROUP
EXTERNAL_NAME

ALL_USERS: The following columns for all created users in the database:
USERNAME
USER_ID
CREATED

USER_USERS: The following columns for just the one, currently connected, querying user:

USERNAME
USER_ID
ACCOUNT_STATUS
LOCK_DATE
EXPIRY_DATE
DEFAULT_TABLESPACE
TEMPORARY_TABLESPACE
CREATED
INITIAL_RSRC_CONSUMER_GROUP
EXTERNAL_NAME

Let us know if this answers your questions.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[ Providing low-cost remote Database Admin services]
Click here to join Utah Oracle Users Group on Tek-Tips if you use Oracle in Utah USA.
 

Thanks Mufasa,

so no matter which user login oracle, as long as he as the select permission to the table, following SQL will return the same results:

select * from dba_users
select * from all_users

Am I right?
 
Hi,
In addition, not all users will be able to query
DBA_USERS



[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top