Discussions
Categories
- 385.5K All Categories
- 5.1K Data
- 2.5K Big Data Appliance
- 2.5K Data Science
- 453.4K Databases
- 223.2K General Database Discussions
- 3.8K Java and JavaScript in the Database
- 47 Multilingual Engine
- 606 MySQL Community Space
- 486 NoSQL Database
- 7.9K Oracle Database Express Edition (XE)
- 3.2K ORDS, SODA & JSON in the Database
- 585 SQLcl
- 4K SQL Developer Data Modeler
- 188K SQL & PL/SQL
- 21.5K SQL Developer
- 46 Data Integration
- 46 GoldenGate
- 298.4K Development
- 4 Application Development
- 20 Developer Projects
- 166 Programming Languages
- 295K Development Tools
- 150 DevOps
- 3.1K QA/Testing
- 646.7K Java
- 37 Java Learning Subscription
- 37.1K Database Connectivity
- 201 Java Community Process
- 108 Java 25
- 22.2K Java APIs
- 138.3K Java Development Tools
- 165.4K Java EE (Java Enterprise Edition)
- 22 Java Essentials
- 176 Java 8 Questions
- 86K Java Programming
- 82 Java Puzzle Ball
- 65.1K New To Java
- 1.7K Training / Learning / Certification
- 13.8K Java HotSpot Virtual Machine
- 94.3K Java SE
- 13.8K Java Security
- 208 Java User Groups
- 25 JavaScript - Nashorn
- Programs
- 667 LiveLabs
- 41 Workshops
- 10.3K Software
- 6.7K Berkeley DB Family
- 3.6K JHeadstart
- 6K Other Languages
- 2.3K Chinese
- 207 Deutsche Oracle Community
- 1.1K Español
- 1.9K Japanese
- 474 Portuguese
Skip rows in Data Loading Page Definition possible?

I am using APEX 21.1 on an 19C database. I am writing an application that needs to load and parse Excel files from a vendor. I would rather not have my users doing the column matching (as you could with Legacy data loading). The Data Loading Capability looks just about perfect for my application, except the vendor spreadsheets don't start with the data/headers, but rather a couple of lines down. I can't seem to find any way to tell data loading wizard to skip two rows before processing headers and data. Is there a way to do so?
Using the APEX_DATA_PARSER I am able to set the P_SKIP_ROWS parameter in the PARSE function, and that works, but leaves me to recreate the huge amount of function in the built in data loading support.
Best Answer
-
Carsten Czarski-Oracle Consulting Member of technical Staff Munich, GermanyMember Posts: 1,419 Employee
Hi Jon,
ah - that's right. At design time there is no attribute to specify the amount of rows to skip. But the column mapping is only done once; so for the sample file you're uploading, you can also manually remove the rows in question, then create the data load definition, add the "Rows to Skip" attribute and save. Then you should be good, right?
But this is a good heads-up: We might have the Skip Rows attribute in the wizard ...
best regards
-Carsten
Answers
-
Carsten Czarski-Oracle Consulting Member of technical Staff Munich, GermanyMember Posts: 1,419 Employee
Hi Jon,
there is a setting for this when using the new Data Load Definitions in APEX 21.1.
- After creating the data load, navigate to Shared Components, Data Load Definitions
- Edit your very Data Load Definition
- Click the button to edit the Data Profile, which contains all information about the format, columns or data types
- Scroll down towards the bottom and you'll see an attribute named Skip Rows.
Does that help?
regards
-Carsten
-
Alas, it appears too late - I need to skip the rows when defining the columns to match. It looks like while I can skip the rows, I have to go in and manually define each of the columns.
But perhaps I can edit the original spreadsheet to make the data definition...
-
Carsten Czarski-Oracle Consulting Member of technical Staff Munich, GermanyMember Posts: 1,419 Employee
Hi Jon,
ah - that's right. At design time there is no attribute to specify the amount of rows to skip. But the column mapping is only done once; so for the sample file you're uploading, you can also manually remove the rows in question, then create the data load definition, add the "Rows to Skip" attribute and save. Then you should be good, right?
But this is a good heads-up: We might have the Skip Rows attribute in the wizard ...
best regards
-Carsten
-
Carsten,
If I edit the excel file ahead of time, delete the header rows, use that to create the data load template, I can then use that to load the spreadsheet. That will work for my application.
But it would be really nice to have the SKIP_ROWS available as an option the wizard when defining the load sources.