Cursor cursor_name Is your_select_statement
Cursor cursor_name(param TYPE) Is your_select_statement_using_param
FOR x in (your_select_statement) LOOP ...
Declared Cursors are difficult to use, and you should prefer FOR loops in most cases. What's very interesting in cursors compared to si...