-
+
PL/pgSQL - SQL Procedural Language
MOVE repositions a cursor without retrieving
any data. MOVE works exactly like the
- FETCH command, except it only positions the
- cursor and does not return rows. As with SELECT
- INTO, the special variable FOUND can
+ FETCH command, except it only repositions the
+ cursor and does not return the row moved to. As with SELECT
+ INTO, the special variable FOUND can
be checked to see whether the cursor was successfully
repositioned or not.
- The direction clause can be any of the
- variants allowed in the SQL
- endterm="sql-move-title"> command except the ones that can move by
- more than one row; namely, it can be
+ The options for the direction clause are
+ the same as for FETCH>, namely
NEXT>,
PRIOR>,
FIRST>,