Teradata Database Message 5760 - 5760 - 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 SELECT subquery from the table reference must fully specify either a UPI value or else a USI value.
- Explanation
- The SELECT subquery from the table reference must either specify a Unique Primary Index or Unique Secondary Index. OR The SELECT subqury in the Merge-Into statement contains a SELECT AND CONSUME statement.
- Generated By
- Opt module.
- For Whom
- End User.
- Notes
- None
- Remedy
- Re-submit the Merge-Into statement with a Select subquery in the table reference that contains either a UPI value or USI value. If SELECT AND CONSUME statemnt is used in the Select subquery, we will need to correct the query.