Curriculum
Course: SQL
Login

Curriculum

SQL

SQL References

0/80

MySQL Functions

0/139

SQL Server Functions

0/84

SQL Quick Ref

0/1
Text lesson

RTrim

Example

Trim spaces from the right end of a string.

SELECT RTrim(“SQL Tutorial    “AS RightTrimmedString;

Definition and Usage

The RTrim() function removes spaces from the right end of a string.

Note: See also the LTrim() function, which removes spaces from the left end of a string.

Syntax

RTrim(string)

Parameter Values

Parameter

Description

string

Required. Specifies the string from which trailing spaces will be removed.

Technical Details

Works in:

 From Access 2000