Collections:
Lock and Unlock a User Account in Oracle
How To Lock and Unlock a User Account in Oracle?
✍: FYIcenter.com
If you want to lock a user account for a short period of time, and unlock it later, you can use the ALTER USER ... ACCOUNT command. The following sample script shows how to use this command:
>.\bin\sqlplus /nolog SQL> connect SYSTEM/fyicenter SQL> ALTER USER dev ACCOUNT LOCK; User altered. SQL> disconnect SQL> CONNECT DEV/developer ORA-28000: the account is locked SQL> disconnect SQL> connect SYSTEM/fyicenter SQL> ALTER USER dev ACCOUNT UNLOCK; User altered. SQL> disconnect SQL> CONNECT DEV/developer Connected.
⇒ Privilege to Create Tables in Oracle
⇐ Revoke CREATE SESSION Privilege in Oracle
2019-06-29, 1869🔥, 0💬
Popular Posts:
What Are the Differences between DATE and TIMESTAMP in Oracle? The main differences between DATE and...
How to continue to the next iteration of a WHILE loop in SQL Server Transact-SQL? How to use CONTINU...
Where to find answers to frequently asked questions I am new to Oracle database. Here is a list of f...
How To Disable a Login Name in SQL Server? If you want temporarily disable a login name, you can use...
What Is an Oracle Instance in Oracle? Every running Oracle database is associated with an Oracle ins...