Teradata Database Message 2662 - 2662 - 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
SUBSTR: string subscript out of bounds.
Explanation
This error occurs when a SUBSTR is used, and either the start position used is beyond the end of the string, the start offset plus the specified length is greater than the string length, or the specified length is negative.
Generated By
The interpretative instruction processor.
For Whom
End User.
Notes
This can be caused by an error in the second or third argument of SUBSTR.
Remedy
Fix the DBC/SQL request and resubmit.