DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2002

    renaming a database user

    Hi all

    I would like to know In oracle if its possible to rename a database user (schema)

    If yes what is the syntax

    If no , then how to acheive this

    say if i have schema name testuser1 with its own set of tables & stored procs

    & now testuser1 has to be renamed to testuser2


  2. #2
    Join Date
    Apr 2001
    Bangalore, India
    Can't rename directly

    Do a user-level export of user testuser1
    create new user testuser2
    import system/manager fromuser=testuser1 touser=testuser2
    drop user testuser1
    Thomas Saviour(royxavier@yahoo.com)
    Technical Lead (Databases)
    Thomson Reuters (Markets)


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.