FAQ
Hi!

We are having one schema (e.g. SCOTT) that holds all the objects for our
application.

What would be the best way to create another user (e.g. MIKE) who has acces
to all tables und procedures that SCOTT owns? In other words: MIKE should
have the same rights to the objects than SCOTT.

Do I have to grant select, insert, update and delete on every table to MIKE
or is there a better way to do it?

Thanks,

Search Discussions

  • David Turner at Sep 16, 2000 at 4:22 pm
    You may want to create a role SCOTT_U for Scott user. Then grant privileges
    to the role and grant the role to Mike. Next you can either create public
    synonyms for scott's tables or private synonyms as Mike to scott's tables.

    Dave Turner
    On Fri, Sep 15, 2000 at 06:10:26PM -0800, Helmut Daiminger wrote:
    Hi!

    We are having one schema (e.g. SCOTT) that holds all the objects for our
    application.

    What would be the best way to create another user (e.g. MIKE) who has acces
    to all tables und procedures that SCOTT owns? In other words: MIKE should
    have the same rights to the objects than SCOTT.

    Do I have to grant select, insert, update and delete on every table to MIKE
    or is there a better way to do it?

    Thanks,
    Helmut

    --
    Author: Helmut Daiminger
    INET: hdaiminger_at_vivonet.com

    Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
    San Diego, California -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message
    to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
    the message BODY, include a line containing: UNSUB ORACLE-L
    (or the name of mailing list you want to be removed from). You may
    also send the HELP command for other information (like subscribing).
  • Abdul Aleem at Sep 18, 2000 at 6:23 am
    Is not expensive to create database users to access tables. To my
    understanding, Oracle licensing is per user. What I have seen people doing
    is that they create one database user to hold data etc. and make application
    level users and assign them rights within the application.

    Regards,

    Aleem
    -----Original Message-----

    From: David Turner
    Sent: Saturday, September 16, 2000 10:25 PM
    To: Multiple recipients of list ORACLE-L
    Subject: Re: Second user with the same privileges

    You may want to create a role SCOTT_U for Scott user. Then grant privileges
    to the role and grant the role to Mike. Next you can either create public
    synonyms for scott's tables or private synonyms as Mike to scott's tables.

    Dave Turner
    On Fri, Sep 15, 2000 at 06:10:26PM -0800, Helmut Daiminger wrote:
    Hi!

    We are having one schema (e.g. SCOTT) that holds all the objects for our
    application.

    What would be the best way to create another user (e.g. MIKE) who has acces
    to all tables und procedures that SCOTT owns? In other words: MIKE should
    have the same rights to the objects than SCOTT.

    Do I have to grant select, insert, update and delete on every table to MIKE
    or is there a better way to do it?

    Thanks,
    Helmut

    --
    Author: Helmut Daiminger
    INET: hdaiminger_at_vivonet.com

    Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
    San Diego, California -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message
    to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
    the message BODY, include a line containing: UNSUB ORACLE-L
    (or the name of mailing list you want to be removed from). You may
    also send the HELP command for other information (like subscribing).
    --
    Author: David Turner
    INET: turner_at_tellme.com

    Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051
    San Diego, California -- Public Internet access / Mailing Lists
    --------------------------------------------------------------------
    To REMOVE yourself from this mailing list, send an E-Mail message
    to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
    the message BODY, include a line containing: UNSUB ORACLE-L
    (or the name of mailing list you want to be removed from). You may
    also send the HELP command for other information (like subscribing).

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouporacle-l @
categoriesoracle
postedSep 16, '00 at 1:05a
activeSep 18, '00 at 6:23a
posts3
users3
websiteoracle.com

People

Translate

site design / logo © 2022 Grokbase