Skip to Main Content
  • Questions
  • Uploading CSV File with Multiple Header Rows Using Data Loading Wizard

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Chel.

Asked: February 03, 2021 - 7:34 am UTC

Last updated: February 16, 2021 - 4:32 am UTC

Version: 5.1.4.00.08

Viewed 1000+ times

You Asked

Dear AskTom Team, I am using the Data Loading Wizard in APEX to upload CSV file. However, the upload file which came from external app have 6 lines of headers and we don't want additional task for the users to edit the file to remove the headers before uploading. Is it possible for the Data Loading Wizard to read starting from line/row 7?

and Connor said...

Not natively to my knowledge.

However, the engine behind the screen is APEX_DATA_PARSER

This *does* have parameters to skip a number of rows. So you could load your Excel file into a BLOB in the database, and then run the parser against it.

Details here

https://blogs.oracle.com/apex/super-easy-csv-xlsx-json-or-xml-parsing-about-the-apex_data_parser-package

Is this answer out of date? If it is, please let us know via a Comment

More to Explore

APEX

Keep your APEX skills fresh by attending their regular Office Hours sessions.