Syntax
RTRIM(str)
Purpose
Removes trailing spaces from the string str.
Examples
obclient> SELECT RTRIM(' obclient ') AS rtrim;
+--------------+
| rtrim |
+--------------+
| obclient |
+--------------+
1 row in set
OceanBase Database
Download PDF
RTRIM(str)
Removes trailing spaces from the string str.
obclient> SELECT RTRIM(' obclient ') AS rtrim;
+--------------+
| rtrim |
+--------------+
| obclient |
+--------------+
1 row in set