Cursor Functions

data-types
#tsql#data-types

These scalar functions return information about cursors:

@@CURSOR_ROWS

@@FETCH_STATUS

CURSOR_STATUS

All cursor functions are nondeterministic. In other words, these functions do not always return

the same results each time they execute, even with the same set of input values. See

Deterministic and Nondeterministic Functions

for more information about function

determinism.

Built-in Functions (Transact-SQL)

See also