BagToString

Description

Concatenates a bag into a string. If the delimiter argument is omitted, the character '_' is used.

Syntax

BagToString(bag_expression[, delimiter_string_expression])

Examples

BagToString(JsonStringToBag('[1,2,3]'),';') returns 1;2;3

Return value datatype

String

Impact of null value

If input is null, returns null.