Results 1 to 5 of 5

Thread: Managing users in database

  1. #1
    Join Date
    Jan 2010
    Posts
    51

    Managing users in database

    I am running with oracle 9i enterprise edition and can you explore me some more information about user management and related tools that should be provided by default from oracle and the different types of privileges that is given due to user creation.Just tell me about this also.I am a beginner in oracle and need to learn user management.

    Please help me...

  2. #2
    Join Date
    Apr 2008
    Posts
    1,948

    Managing users in database

    If you are running with oracle enterprise edition and willing to know about user management. You should first know the use of related tools to manage the users.

    If you are working as a user,there are some limited privileges would be given to you according your position and use of database.But if you are having the privilege of DBA, you are only the user of database that is gives all the command to manage the database.

  3. #3
    Join Date
    May 2008
    Posts
    2,012

    Creating users in database

    A Database Administrator is responsible to create the user for database and specific privilege to use the database access.You can limit the access of resources for user before and after creation of their session using some protected statements.

    The creation of user is done by this sentence :

    Code:
    SQL> CREATE USER <user_name> IDENTIFIED BY <password>
                       DEFAULT TABLESPACE <tablespace_name> 
                           QUOTA 100M ON <tablespace_name>;
    After creation of the user, the user can use the 100 Mb space of allocated tablespace .

  4. #4
    Join Date
    Apr 2008
    Posts
    2,005

    Granting privileges to users in database

    Granting privilege :

    You can grant the sufficient privileges to the user of database.After the creation of the user. The statement given below would be used to give the privilege to the user and one thing more, A normal user can give the permission to access on the database to another user if he/she is already permitted to give the access with sufficient privileges.

    I am going to give the privilege with SELECT,INSERT,DELETE,UPDATE to the "John" user of the database which is created right now.

    Code:
    SQL> GRANT SELECT,INSERT,UPDATE,DELETE ON <Object_name> TO JOHN;
    Where Object_name requires {table_name,index_name,view_name,etc...}

  5. #5
    Join Date
    May 2008
    Posts
    2,297

    Removing users of database

    You can remove the user of the database when the user is no longer needed for database. There are some option provided by oracle database which will revoke all the permission and contents held by user earlier .

    Using this command, you can delete the user of database -

    SQL> DROP USER <User_name> CASCADE;
    Where the CASCADE option will remove all the object and contents of the database which is held by that user.
    Last edited by Zecho; 02-02-2010 at 06:48 PM.

Similar Threads

  1. Replies: 6
    Last Post: 30-11-2011, 11:54 PM
  2. Managing the access control in database
    By Carnie in forum Software Development
    Replies: 4
    Last Post: 19-02-2010, 10:03 PM
  3. Managing Rollback segment in database
    By Adriana_andros in forum Software Development
    Replies: 4
    Last Post: 08-02-2010, 06:48 PM
  4. Managing oracle 9i Database
    By Landan in forum Software Development
    Replies: 3
    Last Post: 21-01-2010, 11:05 AM
  5. Replies: 2
    Last Post: 12-07-2009, 02:43 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,020,108.79076 seconds with 17 queries