Basically I’m doing this in a procedure:
DECLARE
CURSOR r_cursor is SELECT * from imp_exp.results where code = 8223558 FOR UPDATE OF c_timestamp;
BEGIN
FOR idx IN r_cursor LOOP
--dbms_output.put_line(idx.sample_code);
update imp_exp.results set c_timestamp = TO_DATE('10-MAY-99', 'DD-MON=YY')
WHERE CURRENT OF r_cursor;
END LOOP;
END;
How can I display how long this took? Thanks!
This will produce: