Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Renaming Role

RE: Renaming Role

From: Sinardy Xing <SinardyXing_at_bkgcomsvc.com>
Date: Wed, 22 Oct 2003 21:24:25 -0800
Message-ID: <F001.005D4021.20031022212425@fatcity.com>

  1. create the new role
  2. create script spool /tmp/move_role.sql select 'alter user ' || grantee || ' grant new_role;' from dba_users where granted_role = 'OLD_ROLE' host more /tmp/move_role.sql --@/tmp/move_role

Sinardy

-----Original Message-----
Sent: 23 October 2003 12:49
To: Multiple recipients of list ORACLE-L

Dear all,

    Is it possible to rename a role? If it can't be done, what is the best approach to port all the users in the "old" role to the new "role"? Thanks in advance.

Regards,

seth.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: setiady
  INET: setiady_at_informatics-group.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Sinardy Xing
  INET: SinardyXing_at_bkgcomsvc.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
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). Received on Thu Oct 23 2003 - 00:24:25 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US