INTO clause not allowed on DECLARE cursor - ignored

Error code 2660
Probable cause

You have used an INTO clause on a DECLARE cursor statement. The INTO clause will be ignored.