ARRAY_REVERSE
functionsupportedCore SQL functionsReturns an array with the elements of the input array in reverse order.
Syntax
ARRAY_REVERSE( <array> )
Parameters
| Name | Required | Description |
|---|---|---|
array | required | The source array. |
Returns
An array containing the elements of the input array in reverse order.
Usage notes
- If the argument is NULL, the result will be NULL.
- When you pass a structured array to the function, the function returns a structured array of the same type.