Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Oracle Apex Data loading.

Posted on 2014-01-21
2
Medium Priority
?
652 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 1500 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

This article started out as an Experts-Exchange question, which then grew into a quick tip to go along with an IOUG presentation for the Collaborate confernce and then later grew again into a full blown article with expanded functionality and legacy…
Configuring and using Oracle Database Gateway for ODBC Introduction First, a brief summary of what a Database Gateway is.  A Gateway is a set of driver agents and configurations that allow an Oracle database to communicate with other platforms…
This video shows how to copy a database user from one database to another user DBMS_METADATA.  It also shows how to copy a user's permissions and discusses password hash differences between Oracle 10g and 11g.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

704 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