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

LTRIM

LTRIM

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

LTRIM Syntax

LTRIM (char)

LTRIM

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

0 COMMENTS

We’d like to hear from you!