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:
you need to declare your cursor as scroll, like this
declare c scroll cursor for (select statement);
then at any time for locating to the first just use the following
fetch first from c;