//lock_date是被锁住时间,如果为空证明这个用户没有被锁住
select username,lock_date from dba_users where username='GFMIS'; //GFMIS是数据库的用户
//给用户解锁
ALTER USER gfmis ACCOUNT UNLOCK;
select username,lock_date from dba_users where username='GFMIS'; //GFMIS是数据库的用户
转载于:https://www.cnblogs.com/zhangyublogs/p/5225800.html