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

CONCAT

CONCAT

A string function that is the explicit function counterpart to the concatenation operator ("||"). CONCAT() returns the character string produced by concatenating the first argument with the second argument. An error is generated if either of the input arguments does not evaluate to a character string. The maximum size of the result string is 4056 characters.

CONCAT Syntax

CONCAT (string, string)

CONCAT Example

Input
Output
'hello', 'world'
'helloworld'
CREATE TABLE string_table (col1 VARCHAR(20)); INSERT INTO string_table VALUES (CONCAT('hello', 'world')); 1 row affected SELECT col1 FROM string_table; 1 row selected col1 -------------------- helloworld

0 COMMENTS

We’d like to hear from you!