查明哪些用户被锁:
sql> select username,account_status,lock_date from dba_users; username account_status ------------------------------ -------------------------------- lock_date ------------------- user1 open user2 open mgmt_view open
查看某个用户(abcuser这个用户)是否被锁:
select lock_date,username from dba_users where username='abcecuser';
lock_date为空说明没有锁定,非空为锁定。