Syntax
LTRIM(str)
Purpose
LTRIM() removes the leading spaces from a string.
Examples
obclient> SELECT LTRIM(' obclient ') AS ltrim;
+--------------+
| ltrim |
+--------------+
| obclient |
+--------------+
1 row in set
OceanBase Database
Download PDF
LTRIM(str)
LTRIM() removes the leading spaces from a string.
obclient> SELECT LTRIM(' obclient ') AS ltrim;
+--------------+
| ltrim |
+--------------+
| obclient |
+--------------+
1 row in set