Solved

want to change user name

Posted on 2011-09-27
2
270 Views
Last Modified: 2012-05-12
Hi,
Is it possible to change user name in 11g without dropping it.
0
Comment
Question by:nirvairghuman
2 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 63 total points
ID: 36710844
no, sorry


you can export the user and objects with expdp  or exp  and then drop the user and import  (impdp/imp)


0
 
LVL 16

Assisted Solution

by:Swadhin Ray
Swadhin Ray earned 62 total points
ID: 36714624
Changing user name in oracle is not possible but as sdstuber said you can do like :

1) create a new user :

create user new identified by <<new password>>

2) Export the old user data to .dmp file :
exp system/password owner=<<Old user name >> file=userold.dmp log=userold.log

3) import the .dmp file to the new user :
imp system/password fromuser=<<Old user name >> touser=new file=userold.dmp log=Import.log

You can also do this by using datapump .
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
passing parameters to sql script oracle 4 58
Oracle sql query 7 72
SQL Developer 6 60
oracle numeric condition check 4 27
Using SQL Scripts we can save all the SQL queries as files that we use very frequently on our database later point of time. This is one of the feature present under SQL Workshop in Oracle Application Express.
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question