SQL>
SQL> create or replace procedure num_test_as_integer is
2 x integer;
3 t number := dbms_utility.get_time;
4 begin
5 for i in 1 .. 1000 loop
6 x := i;
7 end loop;
8 dbms_output.put_line((dbms_utility.get_time-t)||'cs');
9 end;
10 /
Procedure created.
SQL>