Cursor stored procedures
13 reference entries
- sp_cursor
spcursor performs operations on one or more rows within a cursor's fetch buffer.
- sp_cursorclose
spcursorclose closes and deallocates the cursor, and releases all associated resources.
- sp_cursorexecute
spcursorexecute creates and populates a cursor based upon the execution plan created by spcursorprepare.
- sp_cursorfetch
spcursorfetch fetches a buffer of one or more rows from the database.
- sp_cursoropen
spcursoropen opens a cursor.
- sp_cursoroption
spcursoroption sets cursor options or returns cursor information created by the spcursoropen stored procedure.
- sp_cursorprepare
spcursorprepare compiles the cursor statement or batch into an execution plan, but doesn't create the cursor.
- sp_cursorprepexec
Compiles a plan for the submitted cursor statement or batch, then creates and populates the cursor.
- sp_cursorunprepare
spcursorunprepare discards the execution plan developed in the spcursorprepare stored procedure.
- sys.sp_cursor_list
spcursorlist reports the attributes of server cursors currently open for the connection.
- sys.sp_describe_cursor
spdescribecursor reports the attributes of a server cursor.
- sys.sp_describe_cursor_columns
spdescribecursorcolumns reports the attributes of the columns in the result set of a server cursor.
- sys.sp_describe_cursor_tables
spdescribecursortables reports the objects or base tables referenced by a server cursor.