Cursor functions (overview)
none (documentation, rules or examples)
What changes
- Input
- none
- Output or change
- none
Syntax at a glance
n/a (reference page)
Work example
Check the state of an existing cursor loop while maintaining procedural SQL.
Confirm the fetch loop exits on the expected status and every path closes and deallocates the cursor.
Check your work Cursor status reports cursor state and does not prove that row-by-row work is required.
Open Microsoft Learn for full syntax, permissions, and details for your version.