GSE3010W Invalid ring number ring-number.
Explanation
The specified number ring-number for an internal ring is not valid. A null value was returned.
User response
If the polygon value is not empty, then specify a valid ring number, which should be greater than or equal to 1 (one) and less than or equal to the maximum number of interior rings in the polygon.
If the polygon is empty, the function or method should not be applied. You can use the function ST_NumInteriorRings to determine the number of interior rings of the polygon.
msgcode: +3010
sqlstate: 01HS1