SQL> conn /as sysdba
已连接。
锁定用户的方法:
SQL> alter user test account lock;
用户已更改。
-------test用户登陆数据库,失败了。
C:/>sqlplus test/test
ERROR:
ORA-28000: the account is locked
解锁的方法:
SQL> conn /as sysdba
SQL> alter user test account unlock;
用户已更改。
SQL> conn /as sysdba
已连接。
锁定用户的方法:
SQL> alter user test account lock;
用户已更改。
-------test用户登陆数据库,失败了。
C:/>sqlplus test/test
ERROR:
ORA-28000: the account is locked
解锁的方法:
SQL> conn /as sysdba
SQL> alter user test account unlock;
用户已更改。