cursor - fetch [[next]from]

Discussion in 'MySQL' started by ipipip, Feb 16, 2015.

  1. #1
    FETCH [[NEXT] FROM] cursor_name INTO var_name [, var_name] ...
    Source: The page


    Hi,guys.

    I don't know what is the differrence between fetch and fetch next from.
    Do they bring a same result?
    If I write fetch fetch from instead of fetch from, what would happen?
    Thank a lot.
     
    ipipip, Feb 16, 2015 IP