How to find the users list in oracle 11g db?

前端 未结 6 1461
Happy的楠姐
Happy的楠姐 2021-01-30 12:37

How to find out the users list, which is all created in the oracle 11g database. Is there any command to find out the users list which we can execute f

6条回答
  •  花落未央
    2021-01-30 12:59

    You can try the following: (This may be duplicate of the answers posted but I have added description)

    Display all users that can be seen by the current user:

    SELECT * FROM all_users;
    

    Display all users in the Database:

    SELECT * FROM dba_users;
    

    Display the information of the current user:

    SELECT * FROM user_users;
    

    Lastly, this will display all users that can be seen by current users based on creation date:

    SELECT * FROM all_users
    ORDER BY created;
    

提交回复
热议问题