DECLARE CURSOR statement cannot include an INTO clause Explanation: You specified an INTO clause in the select expression in the DECLARE CURSOR statement. It should go in the FETCH statement or in a singleton select statement. User Action: Remove the INTO clause.