16.20 - LTRIM - Advanced SQL Engine - Teradata Database

Teradata Vantage™ - SQL Functions, Expressions, and Predicates

Product
Advanced SQL Engine
Teradata Database
Release Number
16.20
Release Date
March 2019
Content Type
Programming Reference
Publication ID
B035-1145-162K
Language
English (United States)

Purpose

Returns the argument expr1, with its left-most characters removed up to the first character that is not in the argument expr2.

Syntax



TD_SYSFNLIB.
Name of the database where the function is located.
expr1
A character string or string expression. If expr1 is NULL, NULL is returned
expr2
A string of characters or a numeric expression that will be removed from string1. If expr2 is specified, it must be the same datatype as expr1. If expr2 is not specified, the default is to use a single space character.