How to fix the Oracle error ORA-08118: Deferred FK constraints cannot be enforced, index too big (string)?

In this post, you’ll learn more about the Oracle ErrorORA-08118: Deferred FK constraints cannot be enforced, index too big (string) with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

ORA-08118: Deferred FK constraints cannot be enforced, index too big (string)

Reason for the Error ORA-08118: Deferred FK constraints cannot be enforced, index too big (string)

Deferred Foreign Key constraints cannot be enforced due to the index key being too big and built on a non-default DB_BLOCK_SIZE.

How to fix the Error ORA-08118: Deferred FK constraints cannot be enforced, index too big (string) ?

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

First try to drop the Foreign Key and then the primary key.

Tags :

Leave Your Comment