Skip to Content

mvSQL Database Function - CONCATWITHDASH()

Summary

Returns a string that is the result of concatenating two string values, separated by a dash.

Syntax

CONCATWITHDASH(<string1>, <string2>)

Parameters

string1, string2

A reference to a string column or a literal string.

Returns

The concatenation of the two string values separated by a dash.

Examples

CONCATWITHDASH('Hello', 'World')

Returns

Hello-World