[20170628]11g修改用戶名.txt
[20170628]11g修改用戶名.txt
--//昨天看了鏈接,提到修改用戶名:
http://www.oratea.com/2017/06/26/oracle-11g%e4%bf%ae%e6%94%b9%e7%94%a8%e6%88%b7%e5%90%8d/
--//自己也測試看看.
1.環境:
[email protected]> @ &r/ver1
PORT_STRING VERSION BANNER
------------------- ---------- --------------------------------------------------------------------------------
x86_64/Linux 2.4.xx 11.2.0.4.0 Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
[email protected]
Grant succeeded.
[email protected]> @ &r/hide _enable_rename_user
NAME DESCRIPTION DEFAULT_VALUE SESSION_VALUE SYSTEM_VALUE
------------------- ----------------------------------------------- ------------- ------------- ------------
_enable_rename_user enable RENAME-clause using ALTER USER statement TRUE FALSE FALSE
--//缺省值是false.
--//從Oracle 11g開始,修改用戶名就比較方便了,直接如下:
[email protected]