This article shows how to "unmask" the sql query behind a FECTH API_CUSOR
http://www.sqlskills.com/blogs/joe/hunting-down-the-origins-of-fetch-api_cursor-and-sp_cursorfetch/
that is shown in a deadlock graph. But if only applies if one can capture the event while it is ongoing. Is there a counter in Sql profier (2005) to indicate\capture the query behind the FETCH? (because most of the time I find out about deadlocks long after the victim spid has been killed.)
TIA,
edm2
P.S.Of course it I captured every sql statement executed on the server that may do it but I'm trying not to overburden the server by collecting excessive info