As in the topic. Can I simply reset cursor\'s position to the beginning in Transact-SQL, so it can run again over the table? I want to reset it in the following context:
Another option that can be used that doesn't force you to change the type of cursor is simply to close the cursor and re-open it:
CLOSE user_cursor OPEN user_cursor
But the scroll option will be cheaper in terms of resource usage, if that's a change you can accept.