Teradata Database Message 3977 - 3977 - Analytics Database - Teradata Vantage

Teradata® VantageCloud Lake - Analytics Database Messages

Edition
Lake
Product
Analytics Database
Teradata Vantage
Published
October 2022
Language
English (United States)
Last Update
2024-02-26
dita:mapPath
tzr1629746512312.ditamap
dita:ditavalPath
ft:empty
dita:id
vza1585613049811
lifecycle
latest
Product Category
Teradata® Vantage™
Message
The Parent Key is not unique or not valid.
Explanation
The referenced column(s) (Parent Key) specified in the referential constraint must either be a valid unique primary index (UPI) or a valid unique secondary index (USI) of the referenced table. Note that an UPI/USI could exist but in an invalid state and in which case this error will also be returned.
Generated By
RES/OPT modules.
For Whom
End User.
Notes
None
Remedy
Use the Create Unique Index statement to define the referenced column(s) as unique in the referenced table.