• FOR data_rec IN GET_DATA_01 LOOP
• UTL_FILE.PUT_LINE(v_FileHandle, '<tr>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td>');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.TX_DATE);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.TOT);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.CARD);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.CAPI);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.DUP);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.NODATA);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.YESDATA);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
• UTL_FILE.PUT_LINE(v_FileHandle,data_rec.CORRATE);
• UTL_FILE.PUT_LINE(v_FileHandle, '</td>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<td align="right">');
•v_Rows := v_Rows + 1;
• END LOOP;
<커서를 사용한 데이터 출력부>
• UTL_FILE.PUT_LINE(v_FileHandle, '</table>');
• UTL_FILE.PUT_LINE(v_FileHandle, '<p>');
• UTL_FILE.PUT_LINE(v_FileHandle, '</body>');
• UTL_FILE.PUT_LINE(v_FileHandle, '</html>');