

注:以下方法测试失败,最后用户即不能登录,也不能删除!
select * from user$; //查询出所有用户
select user#,name from user$ where name='xiaohone'; //查询出要改名的xiaohone用户的user#值
update user$ set name='xiaohong' where user#='64'; //修改用户名为xiaohong
commit; //提交
alter system checkpoint; //强制更新
alter system flush shared_pool;//强制更新
//最后不管是强制更新还是重启数据库,改名的用户即不能删除,也不能登录