SQL Notebook (logo)

ARRAY_SET Function

Creates a new array by copying an existing array and replacing one of the elements. The existing array is not modified.

Syntax

ARRAY_SET(array, element-index, value)

Arguments

Return Value

The new array, with the element at index element-index replaced with value.

Examples