This user-defined function (UDF) deletes the temporary table that stores the result set of the cursor and resets the cursor properties to their initial state.
CLOSE_BULK_CURSOR_UDF(CURSOROBJECT)
Parameters
CURSOR OBJECT
The cursor that is checked and closed.
Returns
Returns an object with the cursor properties reset.