renaming a database user
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: renaming a database user

  1. #1
    Join Date
    Dec 2002
    Posts
    110

    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


    Rgrds

  2. #2
    Join Date
    Apr 2001
    Location
    Bangalore, India
    Posts
    727
    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)

    http://ora600tom.wordpress.com/

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