1、查看用户和密码
select username,password from dba_users;
--修改用户和密码
alter user system identified by manager;
alter user system identified by values '2D594E86F93B17A1';
--解锁用户
alter user system account unlock;
-- 用SYSDBA身份进入数据库,然后查询到要更改的用户信息:
select username ,user_id ,password from dba_users where username = 'DJJ_TEST';
-- 更改用户名并提交:
update dba_users set username ='DJJ_DD' where user_id=87; --user_id为上一步查出的编号
commit;
-- 强制刷新:
alter system checkpoint;
alter system flush shared_pool;
-- 更新用户的密码:
alter user new_username identified by new_username;
-- 方法二:
a