DECLARE t_sale_id sale_header.sale_id%type;Three variables for the three columns within the SALE_HEADER table and define a cursor that selects these three columns from the SALE_HEADER table.
BEGIN OPEN obj_table; LOOPWithin the procedural section, open the cursor and loop through all the records.