LPAD Function Syntax | VantageCloud Lake - LPAD Function Syntax - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905
[TD_SYSFNLIB.] LPAD ( source_string, length [, fill_string ] )

Syntax Elements

TD_SYSFNLIB.
Name of the database where the function is located.
source_string
A character string or string expression.
If the length of source_string is greater than length, source_string is truncated to length characters.
length
The number of characters in the resulting string.
fill_string
The string of characters used to pad the source_string.
The sequence of characters in fill_string is replicated as necessary.