Update a column (please its urgent)

I am trying to update a column while the command updates that specific column and replace the rest with blank.
i have written this command
UPDATE AU_POI_INTERM A SET (A. PREV_REL_IDX)= (SELECT REL13_IDX FROM TEMP_AU_POI_DUPLICATES B
WHERE B.REL13_SID='10143' AND B.NEW_IDX = A.IDX)
this is the maximum criteria i can use in where clause.

It updated every row because you have no WHERE clause (on your update statement). Try this:
UPDATE AU_POI_INTERM A
SET   (A. PREV_REL_IDX) = (SELECT REL13_IDX
                           FROM   TEMP_AU_POI_DUPLICATES B
                           WHERE  B.REL13_SID='10143'
                           AND    B.NEW_IDX = A.IDX)
WHERE EXISTS              (SELECT REL13_IDX
                           FROM   TEMP_AU_POI_DUPLICATES B
                           WHERE  B.REL13_SID='10143'
                           AND    B.NEW_IDX = A.IDX)
;

Similar Messages

  • Step by step bapi to convert SAP to XML please its urgent

    step by step bapi to convert SAP to XML please its urgent
    full points if with full example and coding in ABAP,
    Thank you,
    Regards,
    Jagrut Shukla

    yes i want to convert Catsdb table into xml format and safely in server, i.e secured  place

  • Please its urgent

    please its urgent
    what are all the topics i will cover to thorough xml?
    advanced thanx

    what are all the topics i will cover to thorough xml?What an odd question.
    XML can be used to represent any set of data and therefore the topics it can cover can be anything you can think of.
    Perhaps you meant something different. Perhaps you should be more clear in your requirements. Perhaps this isn't really urgent. Perhaps we're volunteers, not being paid to give you any more of our time than any other person. Perhaps you should learn netiquette.

  • Please its urgent - I am planing to buy Iphone 4 in korea .. after it's working in India GSM - OR NOT??

    Please its urgent - I am planing to buy Iphone 4 in korea .. after it's working in India GSM - OR NOT??

    If you buy an iphone 4 in Korea, it is carrier locked to SK telecom or Show, depending on which carrier you get it from. However you can request an unlock from the carrier, it is called, "Country Lock' in Korea. Normal procedure is you buy the iphone there, you then dial 114 on your iphone, and speak with the customer support. Ask them to Country Lock (unlock) the iphone. If you can't speak Korean, but have a Korean friend, let your friend do it for you.
    It will take a few days and you will receive a text message notifying you that your Country Lock is ready. Then connect to itunes, follow the steps.

  • Thanks.. can u please help me out in one more question. how can i transfer files like pdf, .docx and ppt from my laptop to iPhone 5 ? please its urgent.

    thanks.. can u please help me out in one more question. how can i transfer files like pdf, .docx and ppt from my laptop to iPhone 5 ? please its urgent.

    See your other post
    First, i want to know how can i pair my iPhone 5 with my lenovo laptop?

  • I want to make an identity card of my dad. he is a government employee. so can you send me whole method to make it using Photoshop CS2 ? please its urgent,

    i want to make an identity card of my dad. he is a government employee. so can you send me whole method to make it using Photoshop CS2 ? please its urgent

    Identity cards are not things individuals typically make.
    You can get yourself into big trouble forging fake IDs.
    -Noel

  • Row to column query ( Please its urgent)

    The query is
    SELECT
    WO.WORKORDERKEY,
    UDF1.PROJECT_MANAGER,
    UDF1.TEAM_MANAGER,
    UDF1.TEAM_LEAD,
    UDF1.CUSTOMER_COORDINATOR,
    UDF1.AVIONICS_LEAD,
    UDF1.INTERIOR_LEAD,
    UDF1.INSPECTOR,
    UDF1.MECHANICAL_ENGINEER,
    UDF1.AVIONICS_ENGINEER,
    UDF1.PLANNER,
    UDF1.PARTS_COORDINATOR,
    UDF1.LOGO_HEADER_SELECTION
    FROM
    WORKORDERS WO,
    SELECT
    DISTINCT WOUD.WORKORDERKEY,
    DECODE(UDF.LABEL,'Project Manager',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS PROJECT_MANAGER,
    DECODE(UDF.LABEL,'Team Manager',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS TEAM_MANAGER,
         DECODE(UDF.LABEL,'Team Lead',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS TEAM_LEAD,
    DECODE(UDF.LABEL,'Customer Coordinator',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS CUSTOMER_COORDINATOR,
    DECODE(UDF.LABEL,'Avionics Lead',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS AVIONICS_LEAD,
    DECODE(UDF.LABEL,'Interior Lead',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS INTERIOR_LEAD,
    DECODE(UDF.LABEL,'Inspector',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS INSPECTOR,
    DECODE(UDF.LABEL,'Mechanical Engineer',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS MECHANICAL_ENGINEER,
    DECODE(UDF.LABEL,'Avionics Engineer',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS AVIONICS_ENGINEER,
    DECODE(UDF.LABEL,'Planner',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS PLANNER,
    DECODE(UDF.LABEL,'Parts Coordinator',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS PARTS_COORDINATOR,
    DECODE(UDF.LABEL,'Report Logo/Header Selection',SUBSTR(TO_CHAR(WOUD.DATA), 1, 50),NULL) AS LOGO_HEADER_SELECTION
    FROM
    USERDEFINEDFIELDS UDF,
    WORKORDERUDFDATA WOUD
    WHERE
    UDF.USERDEFINEDFIELDKEY = WOUD.USERDEFINEDFIELDKEY
    AND UDF.LABEL IN('Project Manager','Team Manager','Team Lead','Customer Coordinator','Avionics Lead','Interior Lead','Inspector','Mechanical Engineer','Avionics Engineer','Planner','Parts Coordinator','Report Logo/Header Selection')
    AND UDF.DELETED = 0
    AND WOUD.DELETED = 0
    ) UDF1
    WHERE
    WO.WORKORDERKEY = UDF1.WORKORDERKEY(+);
    The output i am getting like:
    WORKORDERKEY     PROJECT_MANAGER     TEAM_MANAGER     TEAM_LEAD     CUSTOMER_COORDINATOR
    1     abc               
    2          ddf          
    2               rrr     
    3     aaf               
    3                    ege
    i need in single line work order key
    WORKORDERKEY     PROJECT_MANAGER     TEAM_MANAGER     TEAM_LEAD     CUSTOMER_COORDINATOR
    1     abc               
    2          ddf     rrr     
    3     aaf               ege
    Please solve my problem.

    maybe this example might be of some help.
    SQL> select * from pivot_tab;
          COL1 COL2
             1 a
             1 b
             1 c
             2 h
             2 h
    SQL>
    SQL>
    SQL> select p.col1,
      2         substr(max(substr(sys_connect_by_path (p.col2,','),2)),1,60)
      3         as col2
      4    from (select col1,
      5                 col2,
      6                 row_number() over (partition by col1 order by col1, col2) rn
      7            from pivot_tab) p
      8  start with p.rn = 1
      9  connect by p.rn = prior p.rn + 1
    10  and prior p.col1 = p.col1
    11  group by col1;
          COL1 COL2
             1 a,b,c
             2 h,h
    SQL>

  • Need to update list page using a pop up dialog page (Please its URGENT)

    Hi,
    I have master page with list of employees. Using a pop up dialog I'am trying to insert a new record but the record is not appearing in the list.
    Possible solutions tried but no hope:
    1. Using managed bean I tried with refreshing (re-execute) the iterator and binding container of employee list page.
    2. Used a navigation from popup dialog to list page along with returnActionListener associated on button.
    Thanks in advance,
    Syed Fazal

    Hi Syed,
    you may try in your return event
    FacesContext context = FacesContext.getCurrentInstance();
    NavigationHandler nh = context.getApplication().getNavigationHandler();
    nh.handleNavigation(context, null, "whateveryournavigationruleis");

  • Cannot update 'last_update' column, please help

    I want to add a column 'last_update' in all tables in database, then add a tigger to update 'last_update' timestamp after the row is updated. However, tigger cannot allow me to update 'last_update' field on updating row. The error is ORA-04091 means table is mutating. How can I solve the problem ?

    according to your reference, my trigger is as below:
    CREATE OR REPLACE TRIGGER lastudt
    After UPDATE ON test
    FOR EACH ROW
    BEGIN
    :new.lastupdate:=sysdate ;
    END;
    but, i got
    ERROR at line 1:
    ORA-04084: cannot change NEW values for this trigger type

  • Issue with dbadapter properties implementing, please its urgent.....

    Hi All,
    my scenario is polling data from one table and publishing in to jms queue. and I'am using FaultPolicies with retry (2) and interval time (2) and exponential Backoff-(3).
    when I configured DB Poll, the properties of maxrows (4), attempts (9),Interval (1) and back off factor (2).
    Now the requirement is to check after executing the faultpolicies, my DB properties should also process. For this I have given wrong JNDI in jms queue to test my service.
    when i test the fault is executing through faultpolicies but DB properties are not retrying.
    can anyone help me in this it would be appreciate.
    Regards,
    G.Satish.

    Quickly, please.
    25% left.

  • Hello Om help please its urgent

    Hi there
    1) What is the Difference between "Evaluation Paths and relationships "
    2) How many cost centers can we assign to a org unit ?
    3) What is difference between - Simple maintainence and Expert Mode
    4) what could be a possible structure of a org unit, exg - if a organisation has branches in 34 countries and head quarters being in london, and having a work center or branch in bangalore, how do we relate sitting in banglaore to London mother company
    5) how many Company codes can a company can have at a time ?
    6)  How can one know if a position is vacant or occupied in a company
    7)   Can a junior employee report to 4 different supervisors, if yes     how ?
    8)  what is the difference between " Job and Position"
    9)  What are the infotypes in OM - Please this is important
    10)  What can a end user do in OM - if he can face a problem where can he face a problem ?? in regular intervals ?
    REgards
    Fahad

    8) to quote from SAP Help...
    Positions are concrete and are held by persons in an enterprise (purchasing administrator, for example). Jobs, in contrast, are classifications of functions in an enterprise (administrator, for example), which are defined by the assignment of characteristics. Jobs serve as job descriptions, that apply to several positions with similar tasks or characteristics.
    6)The Vacancies report (RPAPL010) generates a list of all existing vacancies, from which you can perform additional interactive functions (such as search for suitable applicants for a position, display a requirements profile, and so on
    9) Infotype in OM start from HRP1000 thru' HRP1999 .. there are a few others like HRT*** & HRPAD***
    ~Suresh

  • Need simple example on parsley framework using FLex,Please its urgent

    Hi,
         I tried samples on parsley framework using samples like contactmanagement.But i didnt get any output and not able to debug.
    Can u pls post any sample on this.

    This is an example I put together. It relies soley on the messaging functionality and is designed to be simple. Parsley has many tag (too many) and alternative approaches that you will find variations. However I had a hard time finding some beginner examples clearly explained.
    Parsley MVC, RemoteObject, Zend AMF and MySQL Basic Flex Example

  • Workspace  error.pls its urgent

    Hi All,
    I have installed hyperion 11.1.1.2 version.When I have configured workspace,I am getting the following error"Register with shared services status is failed"
    Anyone could help me for this.
    Please its Urgent for me.
    Many thanks to all
    selva

    hmmmm... this is a forum... not an online training portal....
    You can google and find out how to create JSP(stepwise)
    http://java.sun.com/products/jsp/docs.html

  • Its urgent.Please send me the solution.

    Please find me a solution for the specifications.
    Its urgent.
    Please send me the details as early as possible.
    Requirements:
    1.     EDI Invoice requires populating bottle UPC number not case UPC in IDOC and also populates customer PO number when invoice billing type is a credit.  These changes need to be reflected on EDI invoice (Idoc INVOIC02).
    Investigation:
    Requirement 1. EDI invoices are populating segment E1EDP19 qualifier 003 based on the unit of measure in the line item.  If shipment unit is CSE then it populates CSE upc, if shipment unit is EA then it populates Bottle UPC. 
    a.     It was found that the UPC populated on the EDI invoice was being read from material master – Additional data tab.  (Field SMEINH-EAN11).  For the EDI invoice, the customers expect the bottle UPC on this column.
    Requirement 2.  Need to always populate Segment E1EDK02 Qualifier 001 (customer PO) on the INVOIC02 idoc.  Standard SAP populates this information only when the billing type is F2 (regular invoice) and if the customer PO was entered in the Sales Order.
                                a) Premier requires this information to be populated in the idoc if the billing type is G2, RE, L2 also.
    Solution:
    Requirement 1.
           IDOC_OUTPUT_INVOIC function module needs to be changed to always populate the UPC number for the bottle UPC in segment E1EDP19 qualifier 003, field IDTNR.  This number is found on the material master – Basic data 1 view.  Field name is MARA-EAN11.   Please see screenshot of where in the material master to find the bottle UPC. 
         a. This change applies to all billing types (F2, G2, L2, RE etc).
           Requirement 2.
                 Change IDOC_OUTPUT_INVOIC function module to always populate customer PO information in Segment E1EDK02 qualifier 001, field BELNR.
    If billing type is equal to G2, L2, RE and VBRK-XBLNR not equal blanks then make BELNR = VBRK-XBLNR.
    Segment:  E1EDK02
                                  Field:  QUAL = 001
                                  Field:  BELNR = VBRK-XBLNR
    Waiting for your immediate reaction.
    Thanks,
    Chandra.

    Please provide me a solution

  • HT3702 I'm trying to update a game and its telling me I need to view my billing.i check my billing and it isn't giving me a none option. It's forcing me to put a credit card in, in order to update a game. Help please:(

    I'm trying to update a game and its telling me I need to view my billing.i check my billing and it isn't giving me a none option. It's forcing me to put a credit card in, in order to update a game. Help please:(

    Well, that is probably becasue you owe a debt or something similar.
    Check with
    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

Maybe you are looking for

  • ASA 5510 Multiple Public IP - Static NAT Issue - Dynamic PAT - SMTP

    Running into a little bit of a roadblock and hoping someone can help me figure out what the issue is.  My guess right now is that it has something to do with dynamic PAT. Essentially, I have a block of 5 static public IP's.  I have 1 assigned to the

  • Can't boot correctly or resume from sleep Compaq laptop, blinking caps light

    Hi everyone, I'd like to know if there's a way to fix this weird problem, my laptop can't boot correctly (it shows the CPU blinking caps error code), and after reseting 4 times or so it boots successfully and it works great after that (never saw a BS

  • Xref_data in oracle soa suite 11g

    Hi, All the actual data will be stored in xref_data.We have created one more table by name xref_data_account which will be the same structure of xref_data. But when we tried to populating in xref_data_account we get an error that "INF" column is not

  • Valuechange listener called multiple times for checkbox in table.

    Hi All, I'm trying to understand how value change listeners work for checkbox components within a table column. I have a checkbox declared as below <af:selectBooleanCheckbox id="sbc1" valueChangeListener="#{pageFlowScope.classfiyBean.checkBoxValueCha

  • Weblogic 12c and EmbeddedContainer

    Hi, I have installed new Weblogc Server 12.1.1. Now I'm trying to start the embedded container in a test case. My classpath contains the wlfullclient.jar. But I'm getting an exception during startup: javax.ejb.EJBException: Error instantiating embedd