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

Teradata Vantageā„¢ - SQL External Routine Programming

Advanced SQL Engine
Teradata Database
Release Number
Release Date
July 2021
Content Type
Programming Reference
Publication ID
English (United States)

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

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

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