n2

Teradata Vantageā„¢ SQL Functions, Expressions, and Predicates

brand
Software
Teradata Vantage
prodname
Teradata Database
Teradata Vantage NewSQL Engine
vrm_release
16.20
category
Programming Reference
featnum
B035-1145-162K

The length of the substring to extract from string_expression.

If n2 < 0, the function returns an error

If string_expression is a BYTE or CHAR type and you omit n2, trailing binary zeros or pad characters are trimmed