Concept Flow - Performing operations on cursors
Declare Cursor
Open Cursor
Fetch Rows
Process Rows
Repeat Fetch until no rows
Close Cursor
End
This flow shows how a cursor is declared, opened, rows are fetched and processed repeatedly until no more rows remain, then the cursor is closed.