How to fix the Oracle error QSM-01053: NORELY referential integrity constraint on table, string, in TRUSTED/STALE TOLERATED integrity mode?

In this post, you’ll learn more about the Oracle ErrorQSM-01053: NORELY referential integrity constraint on table, string, in TRUSTED/STALE TOLERATED integrity mode with the details on why you receive this error and the possible solution to fix it.

Oracle Error Description

QSM-01053: NORELY referential integrity constraint on table, string, in TRUSTED/STALE TOLERATED integrity mode

Reason for the Error QSM-01053: NORELY referential integrity constraint on table, string, in TRUSTED/STALE TOLERATED integrity mode

A join present in the materialized view requires RELY mode to be set on the primary/foreign key constraints.

How to fix the Error QSM-01053: NORELY referential integrity constraint on table, string, in TRUSTED/STALE TOLERATED integrity mode ?

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

Set the RELY mode with ALTER TABLE

MODIFY CONSTRAINT RELY command. Alternatively validate the constraint with ALTER TABLE

VALIDATE CONSTRAINT .

Tags :

Leave Your Comment