Solved

Oracle Apex Data loading.

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Best RAID for a BDD Oracle 4 67
help on oracle query 5 43
PL/SQL Display based on value 4 26
Create Index on a Materialized View 5 18
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…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
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 videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

815 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