Using An Update with a Literal Value Based on Equality Between Two Tables

I need to update table1 code_val with a literal value: 'Y' where table1 column grpid matches table2 column grpid.
I have found all sort of info on the web about updating a value from, for example, a table2 field into table1, but I can't find anything where i assign the value where two table columns match.
It would be something like this:
update table1
set code_val = 'Y'
Where table1.grpid = table2.grpid
Thanks for any assistance!

user12296489 wrote:
I need to update table1 code_val with a literal value: 'Y' where table1 column grpid matches table2 column grpid.
I have found all sort of info on the web about updating a value from, for example, a table2 field into table1, but I can't find anything where i assign the value where two table columns match.
It would be something like this:
update table1
set code_val = 'Y'
Where table1.grpid = table2.grpid
update table1
set code_val = 'Y'
Where table1.grpid in (SELECT grpid from table2);

Similar Messages

  • Contract Release value is not updated with Limit item value

    We have SRM 4.0 with ECS scenario.
    Contract are created in SRM and replicated to ERP.
    If we create PO with Service line and Limit line using contract in both of these line items, contract Release value is getting updated only with Service line item value.
    But the contract Total value is the addition of Service and Limit value of PO.
    Why Contract Release value is not getting updated with Limit item value. Please help as early as possible.

    Hi Sandeep
    Yes. there are various reasons .upon your contract incorrect status and linkage not establised / or more attachment in SRM GOA.
    what type of contract are you using? GOA or CCTR
    If it is GOA - which version of SRM and service pack ?are you in ?
    If it is a GOA , BLAREL idoc might failed to post the release value in the SRM .
    How contracts are created material / mat group ?
    to fix or understand the issue, you need to recreate the issue.
    what is the ERROR in BLAREL in SRM idoc monitoring ?

  • How to give relationship between two tables with comon column with between oprator

    Hi Folks,
    I am using Sql Server 2008R2. I am getting a problem to establish relationship between two tables. 
    I have two Tables, 1.Inventory Details Table another one is Inventory Header Table.
    Inventory Details Table having a column Card No and inventory Header Table having columns  From card No and To Card No.
    I want to give relationship between these two tables with Card no. Could you please provide me the Sql Query.
    Your help would be greatly appreciated .
    Regards
    hasthi.
    email:[email protected]

    Hi Raju,
     We have two way that we can relate to the table either join or quality condition use following syntax/Query  for relating two tables 
    select * from Inventory_Details ID inner join  Inventory_Header IH on ID.CardNo between IH.FrmCardno and IH.ToCardNo
    or 
    Select * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo=IH.CardNo OrSelect * from  Inventory_Details ID ,Inventory_Header IH where ID.CardNo between IH.FrmCardno and IH.ToCardNo
    Hope this will help you 
    Niraj Sevalkar

  • Subject: How to do join between two tables using something like SE16

    SE16, SE11 provide form based interface query information from a single table. Is there a way to do join between two tables without creating an infoset erc? I am looking for something similar to sql join but in SAP BI 7.0
    Thanks.

    Hi
    Pls look into below links. Hope this helps you.
    1. http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb45bf455611d189710000e8322d00/content.htm
    2. http://help.sap.com/saphelp_46c/helpdata/EN/d2/cb45a5455611d189710000e8322d00/content.htm
    Regards
    Sirigiri

  • Update with dynamic top value in CTE

    Hi,
    Scenario :
    I have 2 main tables. One is header level and another is detail level. Each header table records have multiple detail entries based on the header table Quantity. Eg: The header have Quantity 50, detail table have 50 receords. Likwise each header table entry
    have Quantity based record count in the detail table.
    My Question:
       User enter multiple header request in one temp table. So that based on the requested quantity the first (FIFO) or top requested number of receords needs to be updated in the detail level. For example, if user enter header 1 and quantity 25.
    Then update the  top 25 records in the detail table on header id is updated.
    HeaderTable Name is ReceiveLot, Detail table is ReceiveSerial and temp table is
    StoresReferenceConsumptions (which is the table users entered the request)
    I wrote the query like below
    ;with cte
    as
    SELECT
    B.ReceiveLotID
    ,CAST(A.Quantity AS INT) Quantity
    FROM StoresReferenceConsumptions A
    INNER JOIN ReceiveLot B
    ON A.ReferenceNumber = B.ReceiveLotID
    WHERE A.ReferenceType=1
    ,cte1
    as (
    SELECT
    B.ReceiveSerialID,
    B.SerialNumber
    FROM cte A
    INNER JOIN ReceiveSerial B
    ON A.ReceiveLotID = B.ReceiveLotID
    WHERE B.[Status] = 'ALLOTTED'
    select * from cte1
    Here i got all the detail table values of he header id which is requested. But i can't use the top with hedaer Quantity in cte1. So how i update only the top number of records.
    If i use general update query i need to use 2 subqueries . please guide me.
    Actualy this is my revised query. My original query is very time consuming because i used cte inside cursor which is creating problems in production. so only i am try like this

    Thanks friend. But the 25 is not static. 25 is the requested quantity from the user which is available in the cte.Quantity.  So for each header entries in the StoresReferenceConsumption  i have entirely different quantity.
    Anyway i basically finished the concept using cursor. Please look into the query from below. Any possiblity like the query in CTE or cursor is better in this case
    DECLARE @ReceiveLotID INT
    DECLARE @LotQuantity NUMERIC(18,4)
    DECLARE updateCursor cursor for
    SELECT
    A.ReceiveLotID
    ,B.Quantity
    FROM ReceiveLot A
    INNER JOIN StoresReferenceConsumptions B
    ON A.ReceiveLotID = B.ReferenceNumber
    WHERE B.ReferenceType=1
    OPEN updateCursor
    FETCH NEXT FROM updateCursor INTO @ReceiveLotID, @LotQuantity
    WHILE @@FETCH_STATUS = 0
    BEGIN
    UPDATE A
    SET [Status] = 'DISPATCHED'
    FROM ReceiveSerial A
    WHERE A.ReceiveSerialID IN
    (SELECT TOP (CAST(@LotQuantity AS INT)) ReceiveSerialID FROM ReceiveSerial
    WHERE ReceiveLotID = @ReceiveLotID AND [Status] = 'ALLOTTED' ORDER BY SerialNumber)
    FETCH NEXT FROM updateCursor INTO @ReceiveLotID, @LotQuantity
    END
    CLOSE updateCursor
    DEALLOCATE updateCursor

  • Using OleDbDataAdapter Update with InsertCommands and getting blocking locks on Oracle table

    The following code snippet shows the use of OleDbDataAdapter with InsertCommands.  This code is producing many inserts on the Oracle table and is now suffering from contention... all on the same table.  How does the OleDbDataAdapter produce
    inserts from a dataset... what characteristics do these inserts inherent in terms of batch behavior... or do they naturally contend for the same resource. 
    oc.Open();
    for (int i = 0; i < xImageId.Count; i++)
    // Create the oracle adapter using a SQL which will not return any actual rows just the structure
    OleDbDataAdapter da =
       new OleDbDataAdapter("SELECT BUSINESS_UNIT, INVOICE, ASSIGNMENT_ID, END_DT, RI_TIMECARD_ID, IMAGE_ID, FILENAME, BARCODE_LABEL_ID, " +
       "DIRECT_INVOICING, EXCLUDE_FLG, DTTM_CREATED, DTTM_MODIFIED, IMAGE_DATA, PROCESS_INSTANCE FROM sysadm.PS_RI_INV_PDF_MERG WHERE 1 = 2", oc);
    // Create a data set
    DataSet ds = new DataSet("documents");
    da.Fill(ds, "documents");
    // Loop through invoices and write to oracle
    string[] sInvoices = invoiceNumber.Split(',');
    foreach (string sInvoice in sInvoices)
        // Create a data set row
        DataRow dr = ds.Tables["documents"].NewRow();
        ... map the data
        // Populate the dataset
        ds.Tables["documents"].Rows.Add(dr);
    // Create the insert command
    string insertCommandText =
        "INSERT /*+ append */ INTO PS_table " +
        "(SEQ_NBR, BUSINESS_UNIT, INVOICE, ASSIGNMENT_ID, END_DT, RI_TIMECARD_ID, IMAGE_ID, FILENAME, BARCODE_LABEL_ID, DIRECT_INVOICING, " +
        "EXCLUDE_FLG, DTTM_CREATED, DTTM_MODIFIED, IMAGE_DATA, PROCESS_INSTANCE) " +
        "VALUES (INV.nextval, :BUSINESS_UNIT, :INVOICE, :ASSIGNMENT_ID, :END_DT, :RI_TIMECARD_ID, :IMAGE_ID, :FILENAME,  " +
        ":BARCODE_LABEL_ID, :DIRECT_INVOICING, :EXCLUDE_FLG, :DTTM_CREATED, :DTTM_MODIFIED, :IMAGE_DATA, :PROCESS_INSTANCE)";
    // Add the insert command to the data adapter
    da.InsertCommand = new OleDbCommand(insertCommandText);
    da.InsertCommand.Connection = oc;
    // Add the params to the insert
    da.InsertCommand.Parameters.Add(":BUSINESS_UNIT", OleDbType.VarChar, 5, "BUSINESS_UNIT");
    da.InsertCommand.Parameters.Add(":INVOICE", OleDbType.VarChar, 22, "INVOICE");
    da.InsertCommand.Parameters.Add(":ASSIGNMENT_ID", OleDbType.VarChar, 15, "ASSIGNMENT_ID");
    da.InsertCommand.Parameters.Add(":END_DT", OleDbType.Date, 0, "END_DT");
    da.InsertCommand.Parameters.Add(":RI_TIMECARD_ID", OleDbType.VarChar, 10, "RI_TIMECARD_ID");
    da.InsertCommand.Parameters.Add(":IMAGE_ID", OleDbType.VarChar, 8, "IMAGE_ID");
    da.InsertCommand.Parameters.Add(":FILENAME", OleDbType.VarChar, 80, "FILENAME");
    da.InsertCommand.Parameters.Add(":BARCODE_LABEL_ID", OleDbType.VarChar, 18, "BARCODE_LABEL_ID");
    da.InsertCommand.Parameters.Add(":DIRECT_INVOICING", OleDbType.VarChar, 1, "DIRECT_INVOICING");
    da.InsertCommand.Parameters.Add(":EXCLUDE_FLG", OleDbType.VarChar, 1, "EXCLUDE_FLG");
    da.InsertCommand.Parameters.Add(":DTTM_CREATED", OleDbType.Date, 0, "DTTM_CREATED");
    da.InsertCommand.Parameters.Add(":DTTM_MODIFIED", OleDbType.Date, 0, "DTTM_MODIFIED");
    da.InsertCommand.Parameters.Add(":IMAGE_DATA", OleDbType.Binary, System.Convert.ToInt32(filedata.Length), "IMAGE_DATA");
    da.InsertCommand.Parameters.Add(":PROCESS_INSTANCE", OleDbType.VarChar, 10, "PROCESS_INSTANCE");
    // Update the table
    da.Update(ds, "documents");

    Here is what Oracle is showing as blocking locks and the SQL that has been identified with each of the SIDS.  Not sure why there is contention.  There are no triggers or joined tables in this piece of code.
    Here is the SQL all of the SIDs below are running:
    INSERT INTO sysadm.PS_RI_INV_PDF_MERG (SEQ_NBR, BUSINESS_UNIT, INVOICE, ASSIGNMENT_ID, END_DT, RI_TIMECARD_ID, IMAGE_ID, FILENAME, BARCODE_LABEL_ID, DIRECT_INVOICING, EXCLUDE_FLG, DTTM_CREATED, DTTM_MODIFIED, IMAGE_DATA, PROCESS_INSTANCE) VALUES (SYSADM.INV_PDF_MERG.nextval,
    :BUSINESS_UNIT, :INVOICE, :ASSIGNMENT_ID, :END_DT, :RI_TIMECARD_ID, :IMAGE_ID, :FILENAME, :BARCODE_LABEL_ID, :DIRECT_INVOICING, :EXCLUDE_FLG, :DTTM_CREATED, :DTTM_MODIFIED, :IMAGE_DATA, :PROCESS_INSTANCE)
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1150 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1156 (BTSUSER,biztprdi,BTSNTSvc64.exe) in instance FSLX3
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 6 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX2
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 1726 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX2
    SID 1452 (BTSUSER,BIZTPRDI,BTSNTSvc64.exe) in instance FSLX1 is blocking SID 2016 (BTSUSER,biztprdi,BTSNTSvc64.exe) in instance FSLX2

  • Difficulty in creating a chart by using a function with a returned value

    Hi,
    I am having a problem in using own function to create chart a with a returned value as the chart. If not using the returned value, it works fine.
    Is this a known issue?

    If you share some code, we might be able to help you.

  • Pageflow variable values don't hold between two ajax requests

    I have pageflow application(Portal) where I have implemented typeAhead(like google suggest with AJAX) for two select boxes. Here I have to inform the server of the firstbox value after it is selected(with AJAX) to save it in pageflow variable so that for next request(while typing in second select box), the corresponding select option data determined by first selection has to be returned. But I see that pagflow doesn't hold values between subsequent ajax requests.But as per BEA Pageflow description values are retained till the end of session.
    Does it have anything to do with the ajax requests which are not normal HTTP browser requests? Plz any suggestions are welcome.

    Hi
    Thanks for reply,
    I know that you said, because I did some ABAP programs and some ABAP reports of the bussiness process of Collateral Objects, with information of these tables and when I tried get information,  I did something like you said, or I assigned cms_ast-object_ref_id to a variable, and this varible I converted to the same type of the other field and find the match or join between the tables(cms_movables, cms_ast).
    The problem is not when I do an ABAP program. The problem is:
    (BO)Business Objects needs to get some information about these tables to do some reports, but  BO has not the tools or the capacity to convert  fields, as well as ABAP. BO gets information directly of the tables of database.
    The posible solution to this problem is that I can create a job and a program, which function is replicate the information of cms_ast and insert on a "z" table or get the relation between to tables (cms_movables and cms_ast) and insert on a "z" table. These can help BO to get information, because BO instead of get information of this tables (cms_movables, cms_ast) , now get information of the table z and then get and join with other tables.
    The principal problem is that BO get information online, with these the job which run the program need to be run minute per minute. and I think that it is not the best practice, because all the tables are some scalables.
    I think that my program could be better, how can I catch a INSERT event on table cms_ast, to convert the fields, and insert on a "z" tables
    Or anybody have an idea, how can i solve these problems?

  • *I WANT TO USE SQL/PLSQL VALIDATION BETWEEN TWO TABLE

    Hi
    I have two tables. their names are thzmt602 and depo_cikis_zimmet
    I use 2 form page at stock program, first one is enter form
    second one is exit form
    I use thzmt602 table for enter form page at stock program
    I use depo_cikis_zimmet for exit form page at stok program
    I select grup_kodu first than model_kodu ,they are relational each other
    each grup_kodu has a lot of model_kodu
    BIRIMI colunm has 4 values, they are paket,adet, metre or kilo ,I select one value
    MALZEME_MIKTARI is number value
    thzmt602
    grup_kodu model_kodu BIRIMI MALZEME_MIKTARI
    1 98 ADET 5
    1 98 ADET 6
    2 53 METRE 1
    2 54 METRE 4
    2 53 METRE 44
    3 4 ADET 34
    4 78 KILO 11
    malzeme_miktari have to sum like model_kodu and grup_kodu
    for grup_kodu=2 , for model_kodu=54 , malzeme_miktari=44+1=45
    and
    model_kodu=53 ,malzeme_miktari=4
    I have to fill exit form page like enter form page
    form example
    I can select grup_kodu=4 ,when I fill exit form
    but I cant grup_kodu=5
    because there isnt this value at thzmt602 table
    I can select grup_kodu=2 at exit form page
    so I can select model_kodu=53
    but I cant select BIRIMI=ADET at exit form page
    because there isnt this value at thzmt602 table
    my problem is
    when my model_kodu=53 I can select malzeme=45 or 44 or 43 or 42......
    but I cant select 46 or 47 or 48............
    ### Steps to Reproduce Problem ###
    "DEPO_CIKIS_ZIMMET"
    ( "GRUP_KODU" VARCHAR2(10),
    "MODEL_KODU" NUMBER(5,0),
    "BIRIMI" VARCHAR2(10),
    "MALZEME_MIKTARI" NUMBER(7,2),
    "THZMT602"
    ( "GRUP_KODU" NUMBER(3,0),
    "MODEL_KODU" NUMBER(5,0),
    "BIRIMI" VARCHAR2(8) NOT NULL ENABLE,
    "MALZEME_MIKTARI" NUMBER(7,2),
    thank you very much for help
    ömer faruk akyüzlü
    in Turkey

    Also, See here for,
    Using FaceTime
    http://support.apple.com/kb/ht4319

  • Help with query to show differences between two tables

    I have two tables that are identically defined. I need to capture changes to the old table. Want a result set that shows the following. I need to know what is new, change, or deleted.  Thanks
    X1,n,new
    z0,n,delete
    z2,y,change
    z3,n,change
    drop table ifs_rmapopold
    create table ifs_rmapopold (rqappl varchar(2), rqcardcurr varchar(1))
    insert into ifs_rmapopold (rqappl, rqcardcurr) values ('z0', 'n'), ('z1', 'n'), ('z2', 'n'), ('z3', 'y')
    drop table ifs_rmapopnew
    create table ifs_rmapopnew (rqappl varchar(2), rqcardcurr varchar(1))
    insert into ifs_rmapopnew (rqappl, rqcardcurr) values ('x1', 'n'),('z1', 'n'), ('z2', 'y'), ('z3', 'n'), ('z4', 'n')

    Got this clumsy example working. But Sorna answer is  really nice.
    create table #temptable (rqappl varchar(2), rqcardcurr varchar(1), updateind varchar(10))
    -- change, get new value
    insert into #temptable
    select n.*, 'change' from ifs_rmapopnew n
    inner join ifs_rmapopold o on n.rqappl = o.rqappl and n.rqcardcurr <> o.rqcardcurr
    -- new
    insert into #temptable
    select n.*, 'new' from ifs_rmapopnew n
    where rqappl not in (select rqappl from ifs_rmapopold)
    -- deleted
    insert into #temptable
    select o.*, 'deleted' from ifs_rmapopold o
    where rqappl not in (select rqappl from ifs_rmapopnew)
    select * from #temptable

  • Use system console with editable default value

    Hi,
    Is it possible in java (or maybe groovy) to ask user for input in console with default value passed? User should be able to edit the default value or commit it by pressing enter key.
    Sample:
    <CONSOLE> Enter type: TYPE1<cursor>
    if user hits enter key the TYPE1 is passed to application, when user hits backspace the TYPE1 is edited. Any ideas?

    Opal wrote:
    if user hits enter key the TYPE1 is passed to application, when user hits backspace the TYPE1 is edited. Any ideas?For java it would need to look more like the following
    <CONSOLE> Enter type[enter for default 'TYPE1']: <cursor>
    I suspect that generally users will not be editing the default, so although you can't do it, it isn't much of a loss.

  • Excise table J_1IEXCDTL not getting updated with Excise Base value.

    Hi All,
    The the field EXBAS of table J_1IEXCDTL is not getting updated for ETT (Transaction Type) DLFC.
    For other transaction types, the same is getting populated.
    Is there a setting for controlling the same?
    If yes, can you please guide me.
    Best Regards
    Debaditya Ghosh

    First you should ensure that it is flowing in your billing document.  If so, automatically, it will also flow in your excise invoice and the field EXBAS will be updated accordingly.
    From your comments, it seems, the amount is not flowing in your billing document and excise invoice.  If so, ensure that you have assigned  the correct tax code in FV11 for your ED condition type.
    thanks
    G. Lakshmipathi

  • Set Default Value based on Field from another table for a custom object

    I'm trying to set the default value on a custom object field to the value of an account field. I have tried the syntax 50 different ways, and just am getting no where. The account field label displays as DBA, the integration tag is ltDBA_ACCT, and it shows up in reporting fx area as Account.Text_22.
    The custom object field I'm triying to update is also called DBA, which was originally the "NAME" required field. Does the table name, Account, have to be included? Do I need a function in front of the field?
    I have been updating the external ID using the row ID with syntex <ID> (Less than ID greater than) so I know it is possible to set the Default Value, but <DBA>, <ltDBA_ACCT>, "Account"."DBA", and so on just don't not work.
    If anyone knows how to enter this I'd really appreciate the help.

    Ok, so if you want to default a field to the value from another object, you have to use the JoinFieldValue function. I think you understand that, based on your original post, but I want to be sure that you do.
    Next, this will only work as a default if the record is created from the object that you wish to join on because a default works at record creation and the ID needs to be available for it to work properly. It will not work if you choose the related object record after the custom object record is created. You could set the value as a post-default, but that does not seem to meet your requirements.
    The syntax for the Default Value would be as follows: JoinFieldValue(ref_record_type, foreign_key, field_name).
    In your case, ref_record_type is '<Account>', foreign_key is &#91;<AccountId>&#93;, and field_name is '<YourFieldName>'. The best way to determine what the field name is would be to create a new workflow for Account and use the Workflow Rule Condition expression builder to pick your field ("DBA") from the list. The value that is returned by the expression builder should be placed in the field_name variable in the JoinFieldValue function (minus the brackets and in single quotes).
    Give this a shot and let me know how you do.
    Thom

  • We just switched to a jetpack for wifi and within 24 hours used 1.8GB with only typical web browsing, no videos and two Kindle downloads. What's going on??? Why is it using so much data?

    We had a 5GB plan with an air card for the past 4 years and rarely went over our data plan but wanted wifi. We were told the jetpack was the way to go. But within 24 hours of setting it up we went through almost 20% of our monthly allowance! We didn't use the computer any differently than we usually do and only used the wifi for 2 Kindle downloads and then disconnected the device from wifi (verified on the jetpack) yet our usage is going through the roof. I will blow through my 10GB in a week at this rate. Very frustrated and don't know where to look for "leaks." help? Any ideas? I don't seem to have any devices drawing from wifi that I don't know about.

    EXACT SAME THING HERE but VERIZON DENIES and calls us LIARS......
    HAHAHAHAHHAHA  Verizon DENIES even hearing about such issues. DENIES even knowing the forums are full of this issue but then tells me that those who post on forums are LIARS. Accused me of lying then talked about how much integrity verizon has. HAHAHAHAHA what a joke. Expect unexplainable overages. Expect verizon to continue stealing until you either a) fulfill your contract and escape or b) cancel and pay the termination fee (I suggest canceling as it will be cheaper to pay these (removed) their extortion than to continue to pay overages THAT DO NOT EXIST) You are NOT USING the data, the data is MISCALCULATED/MISREPORTED or verizon is just jacking with everyone to increase revenue, increase stock value,increase bonuses. RICO anyone? WHERE ARE THE LAWYERS WITH THE CLASS ACTION ON BEHALF of those of us stuck in our verizon (removed)??
    Comments edited as required by the Terms of Service.
    Message was edited by: Admin Moderator

  • Update Multiple Column with Single Command with Join between Two tables.

    This is our command where we are trying to update a table's two columns by pulling values from another table after joining. This query takes too much time to execute. Any suggestions ?
    UPDATE raw_alc_rmfscombinednew
    SET (BSC, CELL_NAME) =
    SELECT distinct raw_alc_R110combinednew.BSC, raw_alc_R110combinednew.CELL_NAME
    FROM raw_alc_R110Combinednew
    WHERE
    raw_alc_R110Combinednew.OMC_ID = raw_alc_rmfscombinednew.OMC_ID
    AND raw_alc_R110Combinednew.CELL_CI = raw_alc_rmfscombinednew.CI
    AND RAW_ALC_R110COMBINEDNEW.START_TIME = RAW_ALC_RMFSCOMBINEDNEW.START_TIME
    Results of Last execution:
    Elapsed Time (sec) 4,476.56
    CPU Time (sec) 4,471.88
    Wait Time (sec) 4.68
    Executions that Fetched all Rows (%) 100.00
    Average Persistent Mem (KB) 32.43
    Average Runtime Mem (KB) 31.59
    --------------------------------------------------------------

    Your update requires a full execution of the subquery for each row in the destination table (raw_alc_rmfscombinednew). Try rewriting as a MERGE. Tons faster.
    MERGE INTO raw_alc_rmfscombinednew  D
          USING ( SELECT distinct
                         BSC,
                         CELL_NAME
                         START_TIME
                    FROM raw_alc_R110Combinednew )  S
             ON (    S.OMC_ID     = D.OMC_ID
                 AND S.CELL_CI    = D.CI
                 AND S.START_TIME = D.START_TIME )
        WHEN MATCHED THEN
          UPDATE
             SET D.BSC        = S.BSC,
                 D.CELL_NAME  = S.CELL_NAME

Maybe you are looking for

  • Mass Change fuctionality for Delivery Documents

    Hi all, I want to carry out a mass change for a field in the delivery document header. I know the transaction MASS is not catering for that. Is that any other standard  transaction to do a mass change in the delivery document header level, other than

  • GROUP CONDITION ROUTINE IN PO

    Hi all, in M/06 I have put flag GROUP CONDITION  and I have choosen GROUP CONDITION ROUTINE 3 (material Pricing group). Calculation Type= Quantity Scale basis= Quantity I have created 2 condition records for 2 materials with scales. These 2 materials

  • How to enable PDF printing (Ubuntu, Tomcat+Cocoon, Apex 3.1 or greater)

    Hi, Hope that this my guide help someone http://ubuntuforums.org/showthread.php?t=1004742 Br, Jari

  • CS6 Timeline "Invalid Time" error

    Win7 Home. All updates to CS6. Have four timelines. No errors on Check Project. Build Blu-ray fails after sometime into the build. Get an "Adobe Encore Window" with: Blu-ray Object: "<Timeline> scrap best", Error: "Invalid Time", Code: "24", Note: "p

  • Updated to ios 6 and i lose some of my contacts

    I have updated my software to ios6 and the process was run succesfully. Unfortunately, i just realized that some of my contacts were lost after that. Anybody have the same problem? How do you resolve it? Is there any chance to have them back?