范文 |
oracle 解除对scott/tiger用户的锁定 1、查证目前系统对于scott用户的状态: select * from dba_users where upper(username)='scott'; account_status:expired & locked 2、解除对于scott用户的锁定: conn sys/bitservice@ttonline as sysdba; alter user scott account unlock; select * from dba_users where upper(username)='scott'; account_status:expired 3、连接scott用户: conn scott/tiger@ttonline;提示该用户已经过期,请重新输入新的密码:tiger conn scott/tiger@ttonline;此次可以正常连接此用户。 4、查看scott用户的状态: conn sys/bitservice@ttonline as sysdba; select * from dba_users where upper(username)='scott'; account_status:open |