How to solve ORA-25188: Cannot drop/disable/defer the primary key constraint for index-organized tables or sorted hash cluster

This time I was trying to reproduce an specific scenario and all of a sudden I was getting ORA-25188 in Tomcat’s console. A quick search on google revealed this method:

  1.  Connect as sysdba
    C:\Users\zulu>sqlplus / as sysdba
  2. Run the command, wait for the confirmation message
    SQL> PURGE DBA_RECYCLEBIN;
    DBA Recyclebin purged.

That’s it, at least for me it worked but in seems that this is not a definitive solution.

Sources

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: