Solved

Oracle Apex Data loading.

Posted on 2014-01-21
2
635 Views
Last Modified: 2014-02-01
I have a couple of different apps that use the Data Loading module in Apex.

All my other apps have a CSV which always have the first row as a heading. Under this scenario, As long as the heading matches the Table column, it automatically maps.

Now, i have to insert a CSV with no heading. Problem is, it asks me to map the data manually.

Is there anyway in apex to have the Data Loading mapping happen automatically based on what colum it's being inserted into?

eg;

Table has
col1, col2, col3, col4.


csv has
data1,data2,data3,data4


can the first column of the CSV be automatically mapped to the first column of the table, and so on?

Thanks,
0
Comment
Question by:FutureDBA-
  • 2
2 Comments
 
LVL 25

Accepted Solution

by:
Tomas Helgi Johannsson earned 500 total points
ID: 39808371
Hi!

Every column of a csv file needs to be mapped somehow. Either using a header row or manually mapping.
Saying that there is another approach in Oracle to load csv files and even without header rows but this mapps a table to a sertain name of a csv file. :)
This method uses External table. See more in these blogs

http://www.orafaq.com/node/848
http://blog.mclaughlinsoftware.com/2012/03/05/oracle-csv-imports/

Regards,
    Tomas Helgi
0
 
LVL 25

Expert Comment

by:Tomas Helgi Johannsson
ID: 39826161
Hi!

Please review:
http://support.experts-exchange.com/customer/portal/articles/481419-what-grade-should-i-award-?b_id=44

B is the grade given for acceptable solutions, or a link to an acceptable solution. A B grade means the solution given lacked some information or required you to do a good amount of extra work to resolve the problem. When closing the question, the asker should explain why a B grade was awarded.

So why B ?

Regards,
    Tomas Helgi
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question