Teradata Database Message 9536 - 9536 - 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
RANGE_N defines more than %VSTR result values.
Explanation
A RANGE_N function with INTEGER data type must not define more than 2147483647 result values (including all the ranges, and the NO RANGE, UNKNOWN, and NO RANGE OR UNKNOWN options if specified). In this case, the value for VSTR is "2147483647". A RANGE_N function with BIGINT data type must not define more than 9223372036854775807 result values (including all the ranges, and the NO RANGE, UNKNOWN, and NO RANGE OR UNKNOWN options if specified). In this case, the value for VSTR is "9223372036854775807".
Generated By
OPT modules.
For Whom
End User.
Notes
None
Remedy
Examine the RANGE_N function invocation and verify that it is correct. Modify the arguments to the RANGE_N such that maximum result value does not exceed the limit.