USE25

Subscript %SUBSCRIPT% out of range in function %FUNCTION%.

The function has detected that the subscript entered is outside the allowable range of values. For instance, the ST_PointN() function returns the nth point identified by the index parameter. If a negative value, 0, or a number greater than the number of points in the source linestring were entered, this error message would be returned.

Correct the subscript value and resubmit the function.