Solved

Oracle Apex Data loading.

Posted on 2014-01-21
2
619 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 24

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 24

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
This video shows information on the Oracle Data Dictionary, starting with the Oracle documentation, explaining the different types of Data Dictionary views available by group and permissions as well as giving examples on how to retrieve data from th…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

746 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now