Teradata Database Message 5327 - 5327 - Analytics Database - Teradata Vantage

Analytics Database Messages

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
15.xx,16.xx,17.xx
Published
June 2022
ft:locale
en-US
ft:lastEdition
2023-01-05
dita:mapPath
sfx1628096178347.ditamap
dita:ditavalPath
ft:empty
dita:id
B035-1096
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.