oracle修改用户名
1、查找该用户
select user#, name from user$ where name = 'DB'; 结果:USER# NAME 92 DB
2、修改用户名
update user$ set name = 'MYDB' where user# = 92;
3、提交
commit;
4、更新检查点
alter system checkpoint;
5、更新共享池
alter system flush shared_pool;
注意 :修改之后无法通过程序链接数据库,不知道啥原因