sa_list_cursors system procedure

Returns the list of cursors in use by the current connection.

 Syntax
 Result set
 Remarks
 Permissions
 Side effects
 See also
 Example