FNC_GetCharLength Function | C Library Functions | Teradata Vantage - 17.10 - FNC_GetCharLength - Advanced SQL Engine - Teradata Database

Teradata Vantageā„¢ - SQL External Routine Programming

Product
Advanced SQL Engine
Teradata Database
Release Number
17.10
Release Date
July 2021
Content Type
Programming Reference
Publication ID
B035-1147-171K
Language
English (United States)

Returns the length, in bytes, for an external routine input argument that has a CHAR data type.

The length returned is the length of the CHAR data when the external routine is invoked.

If the server character set of the CHAR data is UNICODE, the value returned is the number of characters multiplied by two.