All locked accounts
Specific User account status
Use following statement to unlock an account:
SELECT username, account_status, created, lock_date, expiry_date
FROM dba_users
WHERE account_status != 'OPEN';
Specific User account status
SELECT username, account_status, created, lock_date, expiry_date
FROM dba_users
WHERE account_status != 'OPEN' and username='&username';
ALTER USER username ACCOUNT UNLOCK;
No comments:
Post a Comment