sp_cursor_list expects cursor variable to pass results back (OUTPUT argument). This sometimes kind of sucks, so for quick checks you can dig into master db and use:
Code:
SELECT CR.reference_name, CR.cursor_scope, C.*
from master..syscursorrefs CR
inner join master..syscursors C on CR.cursor_handl=C.cursor_handle
------ "There's a man... He's bald and wears a short-sleeved shirt, and somehow he's very important to me. I think his name is Homer."
(Jack O'Neill, Stargate)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.