title: open loop on oracle: find out; current read, next read, last read?
body: <pre><code>   FOR rec IN (SELECT t.*
                   FROM tableCustomers t
                  WHERE t.CustomerNo = p_Cust
                    AND t.NameNo = p_EkNo
                    AND t.Type = 1
                    )
  
     LOOP
  -- Here I need to know how to find out,
  -- the first read, the next read and the last read ?
     END LOOP;
  </code></pre>