Solved

Oracle Apex Data loading.

Posted on 2014-01-21
2
639 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-
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

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…
Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
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.

739 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