Teradata Database Message 5324 - 17.10 - 5324 - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - Database Messages

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1096-171K
Language
English (United States)
Message
The referenced table %DBID.%VSTR does not have a Primary Key defined.
Explanation
If referenced (Parent Key) columns are not specified in a referential constraint, it defaults to the unique constraint that specifies PRIMARY KEY in the referenced (Parent) table. This error will be returned if the referenced table does not have such unique constraint (PRIMARY KEY) defined.
Generated By
RES/OPT modules.
For Whom
End User.
Notes
None
Remedy
Specify referenced columns of the unique constraint and resubmit the request.