Where the computation for P_REGION_ID is: SELECT region_id FROM apex_application_page_regions WHERE application_id = :app_id AND page_id = :app_page_id AND region_name = 'CSV export'
In the downloaded CSV file i get the following:
- the first row: +<||div id="report_33994800669487811_catch">+
- the last 2 row: +<||pre>report error:+ ORA-06502: PL/SQL: numeric or value error: character to number conversion error<||/pre>
(|| - sign is so I can show the tags in the post)
The rest of the data is downloaded ok.
But still how can i get rid of these errors?
It seems that the problem was caused by the "_en" termination (FLOW_EXCEL_OUTPUT_R&P_REGION_ID.*_en*).
But is there any way to get rid of the <||div id="report_33994800669487811_catch"> <||/div> tags from the begining, respective the end of the CSV file ?