基本上我在一个过程中这样做:
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;
我怎样才能显示这花了多长时间?谢谢!