@@FETCH_STATUS (Transact-SQL)
Returns the status of the last cursor FETCH statement issued against any cursor currently opened by the connection. ... Because @@FETCH_STATUS is global to all cursors on a connection, use @@FETCH_STATUS carefully. After a FETCH statement is ......