PL stored programs support cursors, with the same syntax as embedded SQL.
Cursor declarations must appear before handler declarations and after variable and condition declarations. Cursors have the following properties:
Insensitivity: The server may or may not copy its result set.
Read-only: Not updatable.
Non-scrollable: Can only be traversed in one direction and cannot skip rows.
