Cursor Functions (Transact-SQL)

The following scalar functions return information about cursors:

@@CURSOR_ROWS

CURSOR_STATUS

@@FETCH_STATUS

All cursor functions are nondeterministic. This means these functions do not always return the same results every time they are called, even with the same set of input values. For more information about function determinism, see Deterministic and Nondeterministic Functions.

See Also

Reference

Built-in Functions (Transact-SQL)