Truncation of Character String Arguments and Result | Teradata Vantage - Truncation of Character String Arguments and Result - Analytics Database - Teradata Vantage

SQL External Routine Programming

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Analytics Database
Teradata Vantage
Release Number
17.20
Published
June 2022
ft:locale
en-US
ft:lastEdition
2025-03-30
dita:mapPath
iiv1628111441820.ditamap
dita:ditavalPath
qkf1628213546010.ditaval
dita:id
qnu1472247494689
lifecycle
latest
Product Category
Teradata Vantageā„¢

The session transaction mode affects character string truncation when the function is passed a CHAR or VARCHAR input argument or returns a CHAR result that exceeds the maximum length specified in the CREATE FUNCTION or REPLACE FUNCTION statement.

Session Transaction Mode Character String Truncation
Teradata Vantage truncates the argument or result without reporting an error.

Truncation on Kanji1 character strings containing multibyte characters may result in truncation of one byte of the multibyte character.

ANSI Vantage truncates the argument or result of excess pad characters without reporting an error.

Truncation of other characters results in a truncation exception.