Teradata Database Message 5396 - 5396 - 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
An OLD_TABLE or NEW_TABLE alias was referenced without using a subquery.
Explanation
OLD_TABLE and NEW_TABLE aliases refer to set of rows so they must be referenced as a table with a FROM clause.
Generated By
Parser.
For Whom
User.
Notes
None
Remedy
In the triggered statements and the WHEN clause use a FROM clause to refer to the OLD_TABLE and NEW_TABLE aliases.