Write contents into UTL_FILE immediately after a single iteration
I have PL/SQL Block, it query from a Table function and I use a cursor to process it record by record, have some business logic and finally write the Qualified records into the file. Number of records to be processed is upto 1 Million. And the total processing speed is roughly 10000 records per minute.(After testing with few chunks of data) Now, that I need to indicate the processing status in a different environment, JSP. DECLARE vSFile utl_file.file_type; vNewLine VARCHAR2(200); my_cursor IS SELECT * FROM MYTABLE; my_details my_cursor%rowtype; BEGIN vSFile := utl_file.fopen('ORALOAD', file