How to fix the Oracle error ORA-01940: cannot drop a user that is currently connected?

In this post, you’ll learn more about the Oracle ErrorORA-01940: cannot drop a user that is currently connected with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-01940: cannot drop a user that is currently connected

Reason for the Error ORA-01940: cannot drop a user that is currently connected

Attempt was made to drop a user that is currently logged in.

How to fix the Error ORA-01940: cannot drop a user that is currently connected ?

You can fix this error in Oracle by following the below steps

Make sure user is logged off, then repeat command.

Tags :

Leave Your Comment