Rename the schema name in oracle by using below one step;
Step 1;
Make sure no connection using the username which is going to rename.
If its using ,bounce the DB and do the below steps.
Step 2 :
In oracle one of the table is having all the user information , so we can update the username through that table avoiding alter command.
select * from sys.user$;
Now I am going to change the username from nath to nathan as like below;
UPDATE SYS.USER$ SET NAME='NATHAN' where name='NATH';
AND ALTER THE USER LIKE BELOW;
ALTER USER NATHAN IDENTIFIED BY NATHAN;
Good luck
Suresh R
oracle dba.
No comments:
Post a Comment