Need help to load the data from the Excel data to oracle tables

I need to load an Excel worksheet to the Oracle table.

The worksheet contains 20 columns, the first 8 columns contains basic information, but the rest 12 columns contains info like
1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

So what I have to do is:

break only one record (with 20 fields) in Excel to 3 files for each fiscal year in the Oracle table for each record in the database table will look like

8 base field + fiscal_year + 1stQtr_08, 2ndQtr_08, 3rdQtr_08, 4thQtr_08
8 base field + fiscal_year + 1stQtr_09, 2ndQtr_09, 3rdQtr_09, 4thQtr_09
8 base field + fiscal_year + 1stQtr_10, 2ndQtr_10, 3rdQtr_10, 4thQtr_10

There are about 10000 rows in the data file, so how can I use sqlldr to perform this task? beside sqlldr, other good suggestions?

THX

External tables is just an API Oracle sqlloader. If you are about to load this data over and over again, the external tables would be a good idea, but if it's a one time thing, sqlldir is more simple, unless you want to just learn to use external Tables.

I used to run a data warehouse, so I did it, the less similar to what you do in the past.

Tags: Database

Similar Questions

  • * Need help with importing partial data of RDBMS table NHI repository *.

    Hello

    I need help to import the partial table RDBMS data, I tried the content in the logical source but still show me all the data available in the database.

    The table contains the partitioned data for which I want to only import single partion according to the partion of function value.

    IE contry = 'Fr '.

    Thanks in advance.

    See you soon,.
    Rajeev

    One possibility is to do the filtering on the physical level itself. You could use a physical table of type 'Select' and filter the data.

    Thank you!

  • Need help to load the UI components dynamically on JSPX

    Hi all

    I have a requirment/usecase mentioned as below

    (1) we have 10 different set of applications that have their own elements to the screen.

    (2) applications that need to be done one JSPX page.

    (3) we have the data contained in the comics with app_id for each application, screen_elements, screen_type.

    (3) load so now, function app_id (application id), while it is to load the application name and other details of this particular application at run time.

    (4) the elements of the screen, to dynamically load the items on the screen and screen_type, instead of hard coding all the values in the page, and instead of setting them conditional based on the name of the application.

    Can you please help me how can I achieve this usecase

    Please let me know if you need additional information. It will be very useful tome you can suggest alternatives more about it.



    Kind regards
    Ashok E

    Some examples of code that will create a box object text dynamically on the command button click, I think that this will help you go further.

    DynamicPage.jspx*



    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces/rich" >






    Binding = "#{DynaPageBean.panelFormLayout1}" > "






    DynaPageBean.java_
    test of the package;
    Import oracle.adf.view.rich.component.rich.input.RichInputText;
    Import oracle.adf.view.rich.component.rich.layout.RichPanelFormLayout;
    public class DynaPageBean {}
    Private RichPanelFormLayout panelFormLayout1;
    public DynaPageBean() {}
    }
    public String newForm() {}
    for (int i = 0; i)<10 ;i++)="">
    Txt RichInputText = new RichInputText();
    txt.setLabel ("Input Text" + (i + 1));
    txt.setColumns (40);
    txt.setRequired (true);
    panelFormLayout1.getChildren () .add (txt);
    }
    Returns a null value.
    }
    public void setPanelFormLayout1 (RichPanelFormLayout panelFormLayout1) {}
    this.panelFormLayout1 = panelFormLayout1;
    }
    public RichPanelFormLayout getPanelFormLayout1() {}
    Return panelFormLayout1;
    }
    }

  • Need help in generating XML data to a table in XML format

    Hi all

    I need help to generate an xml file using the data below.

    The table name is T_Data have 4 columns as shown below with data.

    Neighbourhood region Division
    ---------- ----------------------- ----------- -----------
    Northwest Northern California San Jose SJStore1
    Northwest Northern California San Jose SJStore2
    Northwest North of California to the North of THE LAStore1
    Northwest North of California to the North of THE LAStore2
    Northwest North of California to the North of THE LAStore3

    I want to generate an XML file using SQL/XML functions and the XML file should look like as below.

    <>region
    < name of region > Northwest < / name of the region >
    < Division >
    Northern California < division name > < / Division name >
    District of <>
    SanJose < district name > < / District name >
    <>store
    < store name > SJStore1 < / name >
    < store name > SJStore2 < / name >
    < / store >
    < / district >
    < / division >
    < / region >

    Very much appreciate your help here.

    Thank you.

    I tried to group the lines, but they did not then provide a correct output.

    To unflatten dataset, we can use nested GROUP-BY subqueries.

    The following will produce a line by region.
    If all regions must be grouped in a single root element (does not so appear according to the directives of the sample), we just add an another XMLAgg.

    SQL> with sample_data as
      2  (
      3    select 'Northwest' reg, 'Northern California' div, 'San Jose' district, 'SJStore1' st from dual union all
      4    select 'Northwest' reg, 'Northern California' div, 'San Jose' district, 'SJStore2' st from dual union all
      5    select 'Northwest' reg, 'Northern California' div, 'North LA' district, 'LAStore1' st from dual union all
      6    select 'Northwest' reg, 'Northern California' div, 'North LA' district, 'LAStore2' st from dual union all
      7    select 'Northwest' reg, 'Northern California' div, 'North LA' district, 'LAStore3' st from dual
      8  )
      9  select reg
     10       , xmlserialize(document
     11           xmlelement("Region"
     12           , xmlelement("RegionName", reg)
     13           , xmlagg( division_xml )
     14           )
     15           indent -- for display purpose
     16         ) as region_xml
     17  from (
     18      select reg
     19           , xmlelement("Division"
     20             , xmlelement("DivisionName", div)
     21             , xmlagg( district_xml )
     22             ) as division_xml
     23      from (
     24          select reg
     25               , div
     26               , xmlelement("District"
     27                 , xmlelement("DistrictName", district)
     28                 , xmlelement("Store"
     29                   , xmlagg(
     30                       xmlelement("StoreName", st)
     31                     )
     32                   )
     33                 ) as district_xml
     34          from sample_data
     35          group by reg
     36                 , div
     37                 , district
     38      )
     39      group by reg, div
     40  )
     41  group by reg ;
    
    REG       REGION_XML
    --------- --------------------------------------------------------------------------------
    Northwest 
                Northwest
                
                  Northern California
                  
                    North LA
                    
                      LAStore1
                      LAStore3
                      LAStore2
                    
                  
                  
                    San Jose
                    
                      SJStore1
                      SJStore2
                    
                  
                
              
     
    
  • How to load the demilited hose to Oracle table text file

    Hi all

    I have a file (filaname.txt) I want to load into oracle table.

    This file is pipe delimited.

    Some examples of filename.txt data...

    SOURCE_SYSTEM_NAME | ACCOUNT_NUMBER | BILL_TO_LOCATION | SHIP_TO_LOCATION
    SMS US | 0001 | 1. 1
    SMS US | 0001 | 1. 2
    SMS US | 0001 | 1. 4
    SMS US | 0002 | 1. 1

    could you please suggest what are the parametrs to create a data store for a pipe delimited txt file.

    Thank you

    When you create him data store for the file in the files tab to define the field as separator. or Hex 7 c

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Load huge data in oracle table

    Hello

    I am using oracle 11g Express Edition, I have formed a .csv file, which includes a 500MB size data that must be downloaded into the oracle table.

    Please suggest which would be the best method to load data into the table. Data are historical employee ticket, i.e. huge data.

    How to make download of mass data in the suggestion of experts need oracle table on this requirement.

    Thank you
    Sudhir

    best way SQL LOADER

  • need help to load the image from a xml file

    (Based on the example of Chapter 10, ActionScript 3.0 for ADOBE FLASH CS4, IPC)
    By using the 'setSong' function, I shoot with success of the < artist > child of my xml data, no problem. But I also have to display the jpg file in the < image > node and I meet a lot of difficulties. I tried adding more variables to the setSong function, but am frustrated. Someone could shine a little light and point this beginner in the right direction?

    function setSongs (): void {}
    for (var i = 0; i < 4; i ++) {}
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;
    }
    }

    myXML:

    <? XML version = "1.0" encoding = "utf-8"? >
    < songlist >
    song <>
    < image id = "1" > images/dummyFace1.jpg < / image >
    < artist > first guy < / artist >
    < album > Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor. < / album >
    < / song >

    song <>
    < image id = "2" > images/dummyFace2.jpg < / image >
    < artist > second person < / artist >
    ante < album > Nam. Metus had integer and lacus accumsan commodo. < / album >
    < / song >

    song <>
    < image id = "3" > images/dummyFace3.jpg < / image >
    < artist > third Fellow < / artist >
    < album > Cras non sem vitae massa pharetra sold. Integer outbound < / album >
    < / song >

    song <>
    < image id = "4" > images/dummyFace4.jpg < / image >
    Fourth individual < artist > < / artist >
    < album > surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore. < / album >
    < / song >
    < / songlist >

    :

    function setSongs (): void {}
    for (var i = 0; i)< 4;="" i++)="">
    var artistText:String = songList_XML.song [i + songCount] .artist;
    Customizer var = this ["song" + (i + 1)] .artist;
    clipArtist.text = artistText;

    var ldr:Loader = new Loader();

    var urlR:URLRequest = new URLRequest (image songList_XML.song [i + songCount]);

    LDR. Load (urlR);

    LDR.x = Whatever (i);

    LDR.y = whateverelse (i);

    addChild (ldr);

    }
    }

    myXML:




    images/dummyFace1.jpg
    First guy
    Aliquam neque dui, sold at, egestas nec, egestas dignissim, tortor.


    images/dummyFace2.jpg
    Second person
    Nam ante. Metus had integer and lacus accumsan commodo.


    images/dummyFace3.jpg
    Third Member
    CRAs non sem vitae massa pharetra sold. Integer is.


    images/dummyFace4.jpg
    Fourth person
    Surpassing ullamcorper quam and ipsum. Aenean sed lacus sit amet leo so restore.

  • Need help with loading the XML file

    Hello

    I spent reviewing the web/forums for an example on how to do this for a few days now.  I managed to get this working in Flash Pro easily enough, but I think I'm missing something when I want to do the same thing in Flex.

    Basically, I want to load an XML file and then set the values of the text of labels 5, equal to the data in the XML file.

    So I have a button created in MXML and have put the following click event:

    Click = "dsSetup (Event)" "

    I also stated the following:

    public var myRequest:URLRequest = new URLRequest ("assets/myFile.xml");   folder located under the CBC in project

    public var myLoader:URLLoader = new URLLoader();

    public var myXML:XML;

    My function that loads is as follows:

    public function dsSetup(event:MouseEvent):void

    {

         trace ("dsSetup");

    myXML = new XML (myLoader.data);

    H3. Text = myXML.source.itemA;

    H4.text = myXML.source.itemB;

    H5.text = myXML.source.itemC;

    H7.text = myXML.source.itemD;

    H8.text = myXML.source.itemE;

    currentState = "MainMenu";

    }

    myLoader.addEventListener (Event.COMPLETE, dsSetup);   I think that this line is no longer as I put it in the MXML

    myLoader.load (myRequest);

    It's the way I did in Flash and it worked fine, but I must be missing something when it comes to Flex.

    Can you explain or point me to a good tutorial that shows how to load XML in Flex code?

    Those I've found seems to have about 50 lines of code just to load a file and add through a complex for a beginner.

    Thank you very much

    I suggest you save the data loaded in a variable that can be linked, then bind the properties of the text - who:

    [Bindable]

    var myXML:XML;

    public void dsSetup(event:MouseEvent):void

    {

    myXML = new XML (myLoader.data);

    currentState = "MainMenu";

    }

    ...

  • need help with loading the icon

    can I get help about icon loading in oracle forms?

    OK make a folder name it icons and copy all you are gif icons and paste into the same folder (icons), and then copy the icons folder and paste in
    D:\DevSuiteHome_1\forms\java\oracle\forms

    When you want to display the icon, then do not use .gif (Note: sometimes also works with .gif) and something more Stéphane on capital letter of gif - icons.it should be in letter.i hope that you understand.

    Sarah

  • need help to determine the type of partition for tables

    Hello

    I have a few tables that have millions of record. In some tables, we have data from previous years, that we do not now use. Can we create a partition of this type of tables table.

    On other tables, how to decide if you should use the range/list/hash partitioning on our tables.

    Do I need to recreate indexes for the tables after you create the partition tables.

    Please guide me.

    Best regards

    Partitioning of decisions are based on how you can access data.

    If you access date then partition by date.
    If you go through a list of values and then use the list.
    If you there is no model and you just need to break the data up into smaller compartments using hash.

    I don't see why, based on what you wrote, partitioning by date range would be not worthy of consideration.

  • I need help pass my Photoshop 7 from my old laptop to my new laptop running Windows 7 Enterprise.  I tried two routes in vain.  I have the installation CD, there no AutoPlay.  I run Autoplay.exe in the root directory, I'm greeted, I ch

    I need help pass my Photoshop 7 from my old laptop to my new laptop running Windows 7 Enterprise. I have in vain two routes. I have the installation CD, it does not autoplay. I run Autoplay.exe in the root directory, I'm greeted, I choose English, I accept the EULA, I get the choice window Install / explores, with the install button already selected, click the button in Photoshop, CD towers, and nothing happens. In the 2nd attempt I run Setup.exe in the directory of Photoshop and nothing happens at all the. I'm never even offered the opportunity to enter my product code. What should I do?

    There is probably a problem of compatibility between the old software and the more recent operating system.

  • Need help to check the switch VMNIC and VNIC DVS mapping...

    Need help to check the switch VMNIC and VNIC DVS mapping...

    I checked the command net-dvs, but it was not useful.

    Thank you

    Ravinder Singh...

    You do not have access on the interfaces between itself or this info is not visible in vCenter? Probably, you should talk to one who is in charge of your nexus dvSwitch.

    I don't know how it works on the nexus 1000v switch, but the output of the net-dvs provides information on balancing policy for all ports (note that he understands the uplink ports that may still occur as "port id of virtual source"):

    # net-dvs. "grep EI ' (Balancing | port)"

    port 320:

    source port = load balancing virtual id

    port 321:

    source port = load balancing virtual id

    port 177:

    source port = load balancing virtual id

    You should also be able to enter this info from esxcli, but I don't know if there is a hook to esxcli for the link. Perhaps, you can branch off with cisco of dvs esxcli vswitch network or something. On the dVS of vmware, you could do:

    # esxcli dvs lacp vmware vswitch network status

    LACP is disabled on DVSwitch.


    # esxcli dvs lacp get config vmware vswitch network

    DVS name LAG ID cards active network Mode

    ------------  ------  -------------  -------  ----

    Vmnic1 Some_DVSwitch 0, vmnic3 false

  • Need help now for the live installation

    Need help now for the live installation

    Hello

    As described in the question, I understand that you need help. I will definitely help you however, I would be grateful if you could help me with more information to better understand the problem and resolving it.

    1. What is the problem you are experiencing during installation?

    2. That you install? Any software or operating system?

    3. How you try to install the software/Os/application?

    If you need live support from Microsoft then you can click on the link given below and check if it helps.

    https://support.Microsoft.com/en-us/contactus/

    Hope that this help, please write us back for any further assistance on this point, we will be happy to help you further.

  • Hello, I need help for cancel the payment on my adobe account.

    Hello, I need help for cancel the payment on my adobe account. I'm from Peru, Im paying a monthly fee as a student. Help, please...

    Cancel your membership creative cloud

  • I JUST DOWNLOAD THE CC ON MY DESKTOP N HAVE NO IDEA WHERE TO START PHOTO EDITING IT S LITTLE DIFFERENT OF MY ITEM 12 NEED HELP TO FIND THE TUTORIAL THANK YOU A.S.A.P.

    I JUST DOWNLOAD THE CC ON MY DESKTOP N HAVE NO IDEA WHERE TO START PHOTO EDITING IT S LITTLE DIFFERENT OF MY ITEM 12 NEED HELP TO FIND THE TUTORIAL THANK YOU A.S.A.P.

    Start with the tutorials in the Welcome window to start and takes a course from a site like Lynda.com.

Maybe you are looking for

  • Adware/Malware on Mac Air

    Hey,. Unfortunately I picked up some adware/malware, but I can't locate the source of it on my computer. I have found no extensions or plug-ins in any of my browsers, but the Adware/Malware is injected into the three (Safari, Chrome and Mozilla). I d

  • Is this possible... Wired and guess the networking

    I have an Apple Airport Extreme point and that you want to configure to function as a network cable for my desktop Mac and PC but also as a separate for some mobile devices wireless network... Is is possible to have two separate networks to networks

  • Boning a Checksum

    Hi all If someone's feeling intelligent I have a puzzle to solve (I can pay in beer or congratulations) We have a need to create a message as each line below, but need to recreate the checksum. It emulates a piece of kit around 1984 based on a chip 8

  • Please help - internet and anti connection v

    Hi, my internet guard going off and alert on my Virgin media v anti keeps turning off, said may not work due to no internet connection, saying: problem with domain name server / "DNS" pulled the plug out and in French - nothing, then suddenly it turn

  • Why do I have large icon when I start my pc

    Why do we have so much trouble with the m/soft its not like apple