Into clause not allowed on declare cursor - ignored

Message value

Message type

2660

Warning

Probable cause

You have specified an INTO clause on a SELECT statement in a DECLARE CURSOR. Note that the INTO clause will be ignored.