Drop User Fails With ORA-01918 though the user exists In DBA_USERS (Doc ID 1297361.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 9.2.0.1 to 11.2.0.2 [Release 9.2 to 11.2]
Information in this document applies to any platform.

Symptoms

When attempting to drop an existing user, the following error occurs:

ERROR
-----------------------
ORA-01918: user 'AHONG2' does not exist

SQL> drop user ahong3;
drop user ahong3
*
ERROR at line 1:
ORA-01918: user 'AHONG3' does not exist


* Querying DBA_USERS shows that the user does exist:

SQL> select username from dba_users where username='ahong3';

USERNAME
------------------------------
ahong3

* Running Health check script shows no warnings/ errors:

SQL> execute hcheck.full
HCheck Version 8i-11/1.95

Found 0 potential problems and 0 warnings

PL/SQL procedure successfully completed.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms