Table of Contents

Search

  1. About the Data Vault SQL Reference
  2. Introduction to SQL Reference for Informatica Data Vault
  3. Date and Time Arithmetic
  4. WHERE Clauses
  5. UNION Operator
  6. Parameterized Query
  7. Functions

Data Vault SQL Reference

Data Vault SQL Reference

RTRIM

RTRIM

A string function that returns the input string with trailing spaces removed.

RTRIM Syntax

RTRIM (char)

RTRIM Example

Input
Output
'pruned '
'pruned'
CREATE TABLE string_table (col1 VARCHAR(20)); INSERT INTO string_table VALUES ('pruned '); 1 row affected SELECT RTRIM(col1) FROM string_table; 1 row selected 1 -------------- pruned

0 COMMENTS

We’d like to hear from you!