How to UPDATE a big table in Oracle via Bulk Load

Hi all,
in a datastore target as Oracle 11g, I have a big table having 300milions of record; the structure is One integer key + 10 columns attributes .
In IQ Source i have the same table with the same size ; the structure is One integer key + 1 column attributes .
What i need to do is to UPDATE that single field in Oracle from the values stored in IQ .
Any idea on how to organize efficiently the dataflow and the target writing mode ? bulk load ? api ?
thank you
Maurizio

Hi,
You cannot do bulk load when you need to UPDATE a field. Because all a bulk load does is add records to your table.
Since you have to UPDATE a field, i would suggest to go for SCD with
source > TC > MO > KG >target
Arun

Similar Messages

  • How to use a Sybase table in Oracle SQL statement?

    How to use a Sybase table in Oracle SQL statement?
    Sybase version : 11.9.2.4
    Oracle version : 10.2.05
    Thanks.

    user12088323 wrote:
    How to use a Sybase table in Oracle SQL statement?
    Sybase version : 11.9.2.4
    Oracle version : 10.2.05
    Thanks.Any Oracle client connected to the Oracle database can access Sybase data through the <font style="background-color: #FFFFCC">Database Gateway for Sybase</font> (it requires an additional license) or the <font style="background-color: #FFFFCC">Database gateway for ODBC</font> (it's free).
    The Oracle client and the Oracle database can reside on different machines. The gateway accepts connections only from the Oracle database.
    A connection to the gateway is established through a database link when it is first used in an Oracle session. In this context, a connection refers to the connection between the Oracle database and the gateway. The connection remains established until the Oracle session ends. Another session or user can access the same database link and get a distinct connection to the gateway and Sybase database.
    Database links are active for the duration of a gateway session. If you want to close a database link during a session, you can do so with the ALTER SESSION statement.
    To access the Sybase server, you must create a <font style="background-color: #FFFFCC">database link</font>. A public database link is the most common of database links.
    SQL> CREATE PUBLIC DATABASE LINK dblink CONNECT TO
    2  "user" IDENTIFIED BY "password" USING 'tns_name_entry';
    --dblink is the complete database link name.
    --tns_name_entry specifies the Oracle Net connect descriptor specified in the tnsnames.ora file that identifies the gatewayAfter the database link is created you can verify the connection to the Sybase database, as follows:
    SQL> SELECT * FROM DUAL@dblink;
    Configuring Oracle Database Gateway for Sybase
    <font style="background-color: #FFFFCC">{message:id=10649126}</font>

  • How to update field in table FAGLFLEXA/FAGLFLEXT

    Hi Gurus,
         we are stay in ECC 5.00. The new g/l have activated but we have not assigned the relevant scenario to the ledger (Refer note no 990612)
         now we have assinged following field:
         FIN_CCA: RCNTR (Cost center), SCNTR (Sender cost center)
         FIN_CONS: RASSC (Trading partner), RMVCT (Transaction Type)
         FIN_GSBER: RBUSA (Business area), SBUSA (Trading partner's business area)
         FIN_PCA: PRCTR (Profit Center), PPRCTR (Partner Profit Ctr)
         FIN_SEGM: SEGMENT (Segment), PSEGMENT (Partner segment)
         FIN_UKV: RFAREA (Functional Area), SFAREA (Partner Functional Area)
         our problem is the data was posted before that does not update fields in table FAGLFLEXA/FAGLFLEXT,How to update field in table FAGLFLEXA/FAGLFLEXT?
    Thanks,

    Hello Jenjira,
    Since this was a question asked few years back, I think you can share your experience with activation of a Scenario subsequent to Go-Live of new GL functionality (We are contemplating activation of one more scenario for Functional Area updation in new GL. 4 update scenarios were activated at time of New GL Implementation 4 years ago).
    Please share following:
    1. Impact of this subsequent activation on Open documents in the live system.
    2. How you addressed the issues arising on Point 1.
    3. Any support that you got from SAP Support Team on issues thereof.
    Any inputs will be of great help.

  • How to update version of XDK on Oracle 8.1.7.4

    Please suggest how to update version of XDK on Oracle 8.1.7.4 or it's impossible?

    I am don't know where to see version of XDK on Oracle 8.1.7.4?
    on Oracle 10.1.0.2.0 it is possible in view dba_registry by query
    select * from dba_registry where comp_id = 'XML';
    but i could not get result on Oracle 8.1.7.4
    I will thanks if you suggest how to see it.
    My goal to update xmlparser as current version of it can't parse
    tag of national symbols.

  • How to update/query informix table for every update/query on Oracle table

    We have a system that can talk to only Oracle.
    Here, we have a certain program that updates an Oracle table thru a View of the Table. For every database operation on Oracle table View, we want to update a corresponding table in Informix database.
    Similarly for every query on the View of oracle table we want to query informix database and fetch the records from there.
    We want to use Oracle as a medium to access Informix.
    Can some one help me on how to do this ?
    Thanks

    You can use the Transparent Gateway for Informix to access Informix from an Oracle environment. The gateway makes the Informix database look like a remote Oracle database.
    You can take a look at the gateways page on OTN for more information on this. http://otn.oracle.com/products/gateways/content.html
    Look at the Certification matrix to ensure that you are using a certified configuration.

  • How to update a fact table when a dimension table is reloaded

    We have implemented BI Apps 796. Insertion into W_EMPLOYEE_D table which stores all the employee information had stopped one year back as some company security policy restricted the informatica worklfows to pick up the data. (PER_ALL_PEOPLE_F was a HRMS table and it contained sensitive information line SSN and salary, was inaccessible to the user which informatica uses and the SDE mapping used to return 0 rows).
    Now we have the approval to see those rows and the dimension table is loaded with some 100 new employees who joined in last one year.
    The ROW_WID of W_EMPLOYEE_D is referenced in lot of fact tables and for all those missing employees the WID in the fact table is 0.
    Now that we have all employees, how to make the FACT table point to the correct WID and not store 0. Has anyone faced this problem before?? Writing an update statement will be a tedious task as there are so many fact tables that join to w_employee_d. Also our company uses Sales, Procurement, Finance modules of OB Apps (which constitutes atleast 20 fact tables)
    Any guidance is appreciated. Thanks in advance

    Hello Kostis,
    thank you for your answer. I don't fully understand you. Can you show me short example, please? I create alias table for time dimension on Physical Layer - original table is TimeDayDim and I create aliases TimeDayDim1, TimeDayDim2, TimeDayDim3, TimeDayDim4. Then I create foreign key Fact.Time1 -> TimeDayDim1, Fact.Time2 -> TimeDayDim2, Fact.Time3 -> TimeDayDim3, Fact.Time4 -> TimeDayDim4. And what now? Must I create these table api Bussines Model and create new time dimensions at bussiness model????
    I need in Answers ONE Time dimension. I think I must split my fact table to four tables ... (time1, place1 ...) (time2, place2 ...) (time3 place3...) (time4 place4...) then link those tables to Time dimension (but I dont know where I can split those tables - on Physical Layer or on Bussines Layer).
    I suppose that I will have in Answers one time dimension and four facts tables and I will be able to query them. (for example: Time.Days, Fact1.Place1, Fact3.Speed, Fact4.Count Criteria: Time.Year = 2008)
    Best Regards Vlada

  • How to update whole external table(in ABAP dictionary) from internal table at once

    Hi,
    How can I update the content of the external table (in ABAP dictionary) from the content of internal table data at once. I created the internal tables with out the header line, with the work area. I tried UPDATE TARGET_EXTERNAL_TABLE FROM TABLE INTERNAL_TABLE. But it returns 4 for sy-subrc and did not work.
    Thank you
    Regards.
    CHINTHAKA

    Hi Feiyun Wu,
    Thank you very much. Your code worked. Is there any way to replace the whole content of the external table from internal table data ?
    Regards,
    Chinthaka

  • How to migrate MS Access table to Oracle 8i

    I need to migrate MS Access v 97 tables to Oracle 8i and save as Oracle tables.
    Could you tell me in detail how to do it.
    Thanks a lot
    Zixing

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Shahbaz Rasheed ([email protected]):
    Originally posted by Oracle Migration Workbench Team:[b]Use the Oracle Migration Workbench Access plug-in. This will automate the process for you. The plug-in is available for download from this site.<HR></BLOCKQUOTE>
    Personal Oracle8 has Oracle MS Access Migration utility. You can migrate your data from Access to Oracle. If you still unable to migrate your data please email me at [email protected] I'll send you step-by-step for Migration document
    Regards
    Shahbaz
    null

  • How to copy sql database tables to oracle database

    hii everybody,
    i have 50 sql databse tables and i want to copy these tables into oracle database,how can i achive this?.Any help highly appreciated.
    thanks.

    Hi,
    You haven't said if this is a one-off copy of the data or if it is comething you want to do on a regular basis.
    If it is a one-off move of the data then you could use the SQL*Developer migration workbench, see here for more details -
    SQL*Developer main page -
    http://www.oracle.com/technetwork/developer-tools/sql-developer/overview/index.html
    Database Migration technology -
    http://www.oracle.com/technetwork/database/migration/index-084442.html
    If it is something you want to do on a regular basis then you could use a gateway to make a connection between SQL*Server and Oracle and then copy or select from the remote tables.
    The following page has more detail -
    http://www.oracle.com/technetwork/database/gateways/index.html
    and this note if you have access to My Oracle Support -
    Master Note for Oracle Gateway Products (Doc ID 1083703.1)
    You could also use GoldenGate which allows real-time replication between Oracle and non-Oracle databases -
    http://www.oracle.com/technetwork/middleware/goldengate/overview/index.html
    Regards,
    Mike

  • How to update these two tables

    Hello,
    I have two tables (in Oracle 11g R2), and have to lock certain rows in each one of them for update...
    Here is the sample data and expected result after updating, please help me for update statements.
    Thanks in advance!!!
    drop table t1;
    drop table t2;
    create table t1(
    t1_id     number(5) primary key,
    t1_col2   varchar2(20),
    t1_col3   varchar2(10),
    t2_id     varchar2(5));
    create table t2(
    t2_id    varchar2(5) primary key,
    t2_col2  varchar2(10),
    t2_col3  number(2),
    t1_id    number);
    insert into t1 values(1, '1 - col2', 'AB', null);
    insert into t1 values(2, '2 - col2', 'AB', null);
    insert into t1 values(3, '3 - col2', 'AB', null);
    insert into t1 values(4, '4 - col2', 'AC', null);
    insert into t1 values(5, '5 - col2', 'AC', null);
    insert into t1 values(6, '6 - col2', 'AC', null);
    insert into t1 values(7, '7 - col2', 'AC', null);
    insert into t1 values(8, '8 - col2', 'AC', null);
    insert into t1 values(9, '9 - col2', 'AC', null);
    insert into t1 values(10, '10 - col2', 'AC', null);
    commit;
    insert into t2 values('11001', 'ABC', 12, null);
    insert into t2 values('11021', 'ABC', 12, null);
    insert into t2 values('11022', 'ABC', 12, null);
    insert into t2 values('11023', 'ABC', 12, null);
    insert into t2 values('11024', 'ABC', 12, null);
    insert into t2 values('11025', 'ABC', 12, null);
    insert into t2 values('11030', 'ABC', 12, null);
    insert into t2 values('11035', 'ABC', 12, null);
    insert into t2 values('11051', 'ABC', 12, null);
    insert into t2 values('11061', 'ABC', 12, null);
    insert into t2 values('11071', 'ABC', 12, null);
    insert into t2 values('11081', 'ABC', 11, null);
    insert into t2 values('11091', 'ABC', 11, null);
    commit;
    declare
      cursor c1 is select *
                     from t1
                    where t1_id in(select t1_id from (select t1_id from t1 where t1_col3 = 'AC' order by t1_id) where rownum <= 5)
                   for update;
      cursor c2 is select *
                     from t2
                    where t2_id in(select t2_id from (select t2_id from t2 where t2_col3 = 12 order by t2_id) where rownum <= 5)
                   for update;
    begin
      for rec_c1 in c1 loop
      end loop;
    end;
    The result must look like:
         T1_ID T1_COL2              T1_COL3    T2_ID
             4 4 - col2             AC         11001
             5 5 - col2             AC         11021
             6 6 - col2             AC         11022
             7 7 - col2             AC         11023
             8 8 - col2             AC         11024
    T2_ID T2_COL2       T2_COL3      T1_ID
    11001 ABC                12          4
    11021 ABC                12          5         
    11022 ABC                12          6
    11023 ABC                12          7
    11024 ABC                12          8

    With the help of Bencol :-)
    DECLARE
       CURSOR c1
       IS
          SELECT a.t1_id, b.t2_id
            FROM t1 a CROSS JOIN t2 b
           WHERE (a.t1_id, b.t2_id) IN (SELECT t1.t1_id, t2.t2_id
                                          FROM    (SELECT t1_id
                                                        , ROW_NUMBER () OVER (ORDER BY t1_id) t1_rn
                                                     FROM t1
                                                    WHERE t1_col3 = 'AC') t1
                                               JOIN
                                                  (SELECT t2_id
                                                        , ROW_NUMBER () OVER (ORDER BY t1_id) t2_rn
                                                     FROM t2
                                                    WHERE t2_col3 = 12) t2
                                               ON t1.t1_rn = t2.t2_rn
                                         WHERE t1.t1_rn <= 5)
          FOR UPDATE;
    BEGIN
       FOR rec_c1 IN c1
       LOOP
          UPDATE t1
             SET t2_id = rec_c1.t2_id
           WHERE t1_id = rec_c1.t1_id;
          UPDATE t2
             SET t1_id = rec_c1.t1_id
           WHERE t2_id = rec_c1.t2_id;
       END LOOP;
    END;
    /Regards.
    Al

  • How to update two database tables when using DatabaseProvider

    I'm a begginer and I've made an application which uses a database. In one page, I have a table which I've took it from "woodstock basic" palette. I was using DatabaseProvider to populate the table with data from a database table called "copii". My code is:
    //i'm check all the rows in the table to see if the field "IDCOPIIC" =0 and if true I will put the value of "newCopiiId"
    do {
    if (copiiDataProvider.getValue("IDCOPIIC").equals
    (new Long(0))) {
    copiiDataProvider.setValue("IDCOPIIC", new Long(newCopiiId));
    newCopiiId++;
    } while (copiiDataProvider.cursorNext());
    copiiDataProvider.commitChanges();
    My problem comes now because I have another database table tided with a foreign key by this one and I want to update this one too when I'm updating the "copii" table. I don't know how to do it ...I've tried in many ways but is impossible. Can anyone help me ! I'm desperate...I cannot figure it out how I could insert, update in two tables in the same time when I'm using DataProvider .
    Thanks in advance!

    Hmm.
    Not sure where your going with the <select> menu.
    The description you made:
    "Both have an id column, which is presumably the record's primary key, but you need to create a relationship by storing the primary key of one table as a foreign key in the child (related) table. For example, you should insert the primary key of the first table in the second table as user_id. That enables you to identify which username and password are related to an individual listed in the second table"
    Seems to be the direction that I'm looking for.
    Now my question is how do I insert the primary key of the first table in the second table as user_id?
    >
    >"For example, you should insert the primary key of the first table in the second table as user_id"
    Since both tables have an id column and they both are the primary key, do I just change the name of the second tables id column to "user_id" then?
    Or is there an actual "insert the primary key to another table" function that I don't know about?

  • How to update the VBFA table without entries in VBRK and VBRP tables

    Hello,
    I have a requirement , where the sales order , delivery happens in one SAP system say X system and billing document wil happens in other sap system say Y.
    Now in this particular case , if the user want to know the billing document number in X system. what would be the solution.
    Is there any possibility to update the VBFA table with invoice number of Y system (without updating the VBRK and VBRP tables).
    User want to see the billing doc number from sales order in the form of document flow in X system
    Thanks in advance
    Pradeep

    Hii
    Without updating VBRK/VBRP table and updating VBFA is not possible, So you have to play with work arround to create one Z TABLE, so whenever system Y will create billing document with the reference of System X data you have to update Ztable with Invoice number created in System Y, The primary key will be in Z TABLE is Delivery document number to track one to one with billing doc.
    Thanks and Regards
    Shambhu Sarkar

  • How to update a Z table by sm31

    hi guys,
    i need to update some z tables, i know that there is a way in TXN se11 the option utilities, create update.tab, but that ask me for a FM!!
    do i need to create a fm for each table? is there any standard fm for updating tables?
    i need to modify this table by SM31,
    any ideas?

    Hi Javier,
    The first question is where from are you going to update the tables? will yo manually change the entries?
    Try to generate the table maintenance for the 'Z' table.. by SE11>Environment>Table maintenance generator..
    You will not need to write any code for this... then goto SM30, put your table name and you will be able to create, modify or delete entries of your table..
    Thanks and Best Regards,
    Vikas Bittera.

  • How to load an Excel sheet into Oracle via SQL* Loader

    Hallo!I am trying to load an Excel spreadsheet into an Oracle 10g database via SQL*Loader.
    How do I achieve this via Oracle Enterprise Manager?
    Please give a detailed explanation especially covering the locations of the control file,infile,bad file etc for Oracle 10g running in both Windows and Linux platforms.
    Thanks.

    This has nothing to do with Oracle Enterprise Manager
    SQL Loader is command line and it needs to be installed with SQL PLUS (The wrong install type will not have it)
    Consider reviewing this:
    http://www.orafaq.com/wiki/SQL*Loader_FAQ

  • CommPr01-TC { how to update product status(locked,Archived etc) via Program}

    Hi all,
    TCode: Commpr01 ( how to update material product status as Locked or Archived Via report program. Can any one suggest me what FM's
    i have to use and what inputs i have to pass. I already checked with "COM_PRODUCT_MAINTAIN_STATUS" it is not working properly.
    May be i passed wrong input to that function module i think off.
    Thanks,
    Anbusundaram A

    Hi,
    Its good that u pasted the complete log file. In your environment you have to run this upgrade tool only once from any of the middle tier.
    And with respect to your error that u got in precheck is quite simple. All u have to do is just run this script from by connecting to portal schema using sqlplus.
    Run dropupg.sql
    Location-------- /raid/product/OraHome_1/upgrade/temp/portal/prechktmp/dropupg.sql
    Later you re-run the upgrade tool and let me know the status.
    Good luck
    Tanmai

Maybe you are looking for

  • Sending report output via E-mail (excel pivoted format)

    Hi all, i have a written a report where i need to send the report output to somebody via E-mail.i am sending this report output via E-mail successfully.The receiver receives, my output in excel format.but this excel is not <b>pivoted</b>. i want , th

  • FRM-92101 There was a failure in the forms server during startup

    Hi guys when running EBS i am getting this error: it happens when i try to load any form i.e hrms managemnet --> work structure -> organization error : FRM-92101 There was a failure in the forms server during startup this could happen due to invalid

  • How do I disable the pass code on my iPhone 5 with 7.0.4 operating system?

    There is no option to disable the pass code under settings>general>touch ID & Pass code.

  • How to create Forwarding Agent?

    Hi Gurus,                Can anybody throw some light regarding Forwarding Agent,Personnel and contact persons..... 1.How to create them(In detail)? 2.How to mention them in CMR of sold to party? 3.Who are they? Thanks in advance. Points will be awar

  • Incorrect value for global variable

    Hi, I am facing an issue in a query. In the query there is a Global variable 'Volume type'. In the default value tab of the variable it is given Default value as Litre. In the table RSZGLOBV also i have checked the global variable and there also the