15.00 - 5311 The specified constraint is inconsistent. Submit ALTER TABLE DROP INCONSISTENT REFERENCES statement instead. - Teradata Database

Teradata Database Messages

Product
Teradata Database
Release Number
15.00
Content Type
Programming Reference
Publication ID
B035-1096-015K
Language
English (United States)

5311 The specified constraint is inconsistent. Submit ALTER TABLE DROP INCONSISTENT REFERENCES statement instead.

Explanation:

The specified referential constraint is inconsistent and cannot be dropped using the ALTER TABLE DROP FOREIGN KEY statement. This can occur after the table is restored. The user must submit an ALTER TABLE DROP INCONSISTENT REFERENCES statement to drop all inconsistent references from the target table.

Generated By:

OPT modules.

For Whom:

Host Utility.

Remedy:

The user must submit statement ALTER TABLE <tablename> DROP INCONSISTENT REFERENCES to remove inconsistent referential constraints.