Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Renaming Role
Thanks for Xing and Mladen,... I've got the idea.
Seth.
----- Original Message -----
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
Sent: Thursday, October 23, 2003 12:24 PM
> 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.
>
-- 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).Received on Thu Oct 23 2003 - 21:34:33 CDT