RTRIM()

Scalar. Returns a specified string after stripping trailing spaces.

Syntax

RTRIM( string )
Data Types

Return

string

String

String

Example

The following example uses the RTRIM function to remove trailing spaces from the value in the column: Symbol:

INSERT INTO OutStream
SELECT RTRIM(Trades.Symbol)
FROM Trades;