Created
November 26, 2015 10:12
-
-
Save iguissouma/75cf4a6351c035e7ccf4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Here's how to lock or unlock Oracle database user accounts. | |
SQL> ALTER USER username ACCOUNT LOCK; | |
SQL> ALTER USER username ACCOUNT UNLOCK; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for sharing such command .
in this form , i would like to share a command to create Oracle account & change password
create account :
CREATE USER <account-name>IDENTIFIED BY <account-password> password expire DEFAULT TABLESPACE <table-space name> TEMPORARY TABLESPACE TEMP QUOTA UNLIMITED ON <table-space name> PROFILE PERSONAL;
change account password :
alter user <account-name> identified by "<accountpassword>"