Oracle上のコマンドからはムリでした。
ALTER USER でできたらいいのに。
結局imp/expで移動させました。
#新しいユーザーを作る create user NEWUSER identified by xxxxx default tablespace user1 temporary tablespace temp1 quota 100m on user1 #権限を与える grant resource,connect to NEWUSER; #エクスポート exp OLDUSER/pass file=OLDtoNEW.dmp #元のユーザーを削除 conn / as sysdba drop user OLDUSER cascade; #インポート imp NEWUSER/pass file=OLDtoNEW.dmp fromuser=OLDUSER touser=NEWUSER
タグ
コメントをかく