Teradata Database Message 5327 - 5327 - 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
ADD_MONTHS has been called with wrong data types or values.
Explanation
The first argument of ADD_MONTHS must be of the TDBS DATE Type, and the second argument must be a BYTEINT,SMALLINT or INTEGER. The values of the first argument, DATE, and the second, MONTHS, must be in ranges such that the resulting date has a Year value between 0000 and 3500.
Generated By
Optimizer or Evl procedures.
For Whom
End User.
Notes
None
Remedy
Use values of proper types and ranges.