How to get dbms_output to print line before the end of the procedure?

begin   dbms_output.put_line('Kilroy1');   dbms_lock.sleep(1);   dbms_output.put_line('Kilroy2');   dbms_lock.sleep(1);   dbms_output.put_line('Kilroy3');   dbms_lock.sleep(1);   dbms_output.put_line('Kilroy4');   dbms_lock.sleep(1);   dbms_output.put_line('Kilroy5');   dbms_lock.sleep(1); end; / You wait five seconds, then get the output. This is the way it works with dbms_output. Now I try a new trick The output does not wait the end. There was a trick I wrote in 2007 using utl_file, but it was […]