SQL/MX 2.x Reference Manual (H06.10+, J06.03+)
SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual—544517-008
9-84
LTRIM Function
LTRIM Function
The LTRIM function removes leading spaces from a character string.
LTRIM is an SQL/MX extension.
character-expression
is an SQL character value expression and specifies the string from which to trim
leading spaces. See Character Value Expressions on page 6-38.
Considerations for LTRIM
Result of LTRIM
The result is always of type NON ANSI VARCHAR, with maximum length equal to the
fixed length or maximum variable length of character-expression.
Examples of LTRIM
•
Return 'Robert ':
LTRIM (' Robert ')
See TRIM Function on page 9-158 and RTRIM Function on page 9-127.
LTRIM (character-expression)










