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