📅  最后修改于: 2022-03-11 15:05:26.661000             🧑  作者: Mango
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;