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

LEN

LEN

A string function that returns the number of characters in the input expression.

LEN Syntax

LEN (char) LENGTH (char)

LEN Example

Input
Output
'sea bass'
8
CREATE TABLE string_table (col1 VARCHAR(10)); INSERT INTO string_table VALUES ('sea bass'); 1 row affected SELECT LENGTH(col1) FROM string_table; 1 row selected 1 ----------- 8

0 COMMENTS

We’d like to hear from you!