Updated on 2024-03-15 GMT+08:00

GAUSS-03101 -- GAUSS-03110

GAUSS-03101: "wrong number of array subscripts"

SQLSTATE: 2202E

Description: The array using variable-length elements must be one-dimensional. An error occurs when you replace array elements with variable-length elements of a multiple-dimensional array.

Solution: Ensure that the input parameter is valid.

GAUSS-03102: "array subscript out of range"

SQLSTATE: 2202E

Description: The one-dimensional index value exceeds the value range allowed for the elements contained in the array.

Solution: Ensure that the input parameter is valid.

GAUSS-03103: "cannot assign null value to an element of a fixed-length array"

SQLSTATE: 22004

Description: NULL value cannot be assigned to an element of a fixed-length array.

Solution: Ensure that the input parameter is valid.

GAUSS-03104: "updates on slices of fixed-length arrays not implemented"

SQLSTATE: 0A000

Description: Updates are not supported on arrays that use fixed-length elements.

Solution: Ensure that the input parameter is valid.

GAUSS-03105: "source array too small"

SQLSTATE: 2202E

Description: There is no element of the index number to be replaced in the source array.

Solution: Ensure that the input parameter is valid.

GAUSS-03106: "invalid nargs: %d"

SQLSTATE: XX000

Description: The array parameters are invalid.

Solution: Modify the array parameters in the query.

GAUSS-03107: "null input array"

SQLSTATE: XX000

Description: The array does not contain parameters.

Solution: Add valid parameters to the array.

GAUSS-03108: "null array element not allowed in this context"

SQLSTATE: 22004

Description: If the current array element flag is not NULL, the value of the array element cannot be NULL.

Solution: Ensure that the input parameter is valid.

GAUSS-03109: "cannot compare arrays of different element types"

SQLSTATE: 42804

Description: Arrays that use different types of elements cannot be compared.

Solution: Ensure that the input parameter is valid.

GAUSS-03110: "invalid arguments to array_create_iterator"

SQLSTATE: XX000

Description: The parameter of the array_create_iterator function is invalid.

Solution: Modify the parameter of the array_create_iterator function.