MERGE_FUNC

All functions > ROW > MERGE_FUNC

Merges multiple row structures into a single row with combined fields

Syntax

MERGE_FUNC(expressions)
sql

Arguments

ParameterTypeRequiredDescription
expressionsARRAYROWYesArray of row expressions to merge

Returns

ROW - A single row containing all fields from input rows

Notes

  • Requires at least 2 rows to merge
  • All field names must be unique across all rows
  • Fields are combined in order from left to right
  • Throws error if duplicate field names exist

Examples

Last update at: 2025/10/13 10:23:46