The syntax of the FETCH statement : Fetch cursor « Cursor « SQL Server / T-SQL Tutorial






FETCH [NEXT|PRIOR|FIRST|LAST|ABSOLUTE n|RELATIVE n]
FROM [GLOBAL] cursor_name
[INTO @variable_name [, ...]]








18.4.Fetch cursor
18.4.1.The syntax of the FETCH statement
18.4.2.FETCH NEXT FROM
18.4.3.Fetch cursor value with while loop