A cursor is a database object that you can use to navigate in the named result table of an SQL statement.
SQL Reference Manual, DECLARE CURSOR Statement (declare_cursor_statement)