Answers for "oracle list user locked"

SQL
0

oracle list user locked

SELECT * FROM DBA_USERS WHERE ACCOUNT_STATUS <> 'OPEN';
-- Unlock a user
ALTER USER my_user ACCOUNT UNLOCK;
-- If password is expired 
ALTER USER my_user IDENTIFIED BY new_password ACCOUNT UNLOCK;
Posted by: Guest on May-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language