Oracle 修改用户名办法


直接修改底层表 USER$ 更换用户名
 
使用sys用户连接数据库
 
查找所要修改用户的编号 user#
 select user# from user$ where name = 'XXX';
 
修改用户名
 update user$ set name = 'TEST' where user# = '93';
 commit;
 alter system checkpoint;
 alter system flush shared_pool;
 alter user test identified by Oracle;
 conn test/oracle

相关内容

    暂无相关文章