SQL Notebook (logo)

ARRAY_INSERT Function

Creates a new array by copying an existing array and inserting one or more elements. The existing array is not modified.

Syntax

ARRAY_INSERT(array, element-index, value1, [value2], ...)

Arguments

Return Value

The new array, with the new values inserted at index element-index.

Examples