oracle用户

如果要了解oracle中用户信息,可以查询数据字典dba_users。在sql*plus中,使用system用户登录,查询语句如下:

select username,account_status from dba_users;

如果要为某个用户解锁,例如dragon,可以使用以下语句:

alter user dragon account unlock;

未解锁后的dragon用户设置口令为secret,可以使用以下语句:

alter user dragon identified by secret;

原文地址:https://www.cnblogs.com/jfl-xx/p/4600773.html