Syntax
RTRIM(str)
Purpose
Removes trailing spaces from the string str.
Examples
obclient> SELECT RTRIM(' obclient ') AS rtrim;
+--------------+
| rtrim |
+--------------+
| obclient |
+--------------+
1 row in set
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI.
Meet OceanBase AI Lakebase, the unified database for operational data, real-time analytics, and AI. Explore ->
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