Mega Code Archive

 
Categories / MSSQL Tutorial / Cursor
 

The syntax of the FETCH statement

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