Update the duplicate while maintaining the original data

Hi all

By a mistake, I have created a table, and now we have duplicate entries, while the original is also among them.

In my view, the min (id) will be the original data. How can I delete the duplicate record while maintaining the original and the rest of the table data.

This is the structure of the sample where the XREFand UML combination will make the records in the table as unique.

Because the ID is sequence uses, it will be always unique.

ID XREF UML name
101121KatinRiha
102139PintKebit
103139PintJosh
104121KatinWebber
10589187SorbetBimbles
10979817PLEsMark
658139PintStefanny

I got it thank you.

Tags: Database

Similar Questions

  • I have a Mac Book (2006), all my emails since two and a half years have the same date. How to bring back the original dates?

    Of 'date and time' I tried to drag the month and year of my menu bar. He did not stay, I did several times, but nothing helped. I closed the window and went back to my Thunderbird email to see the date, I tried to use became the date in the column "date of receipt" of all of my emails back for 2011. I changed the date a few days later, and then the date is changed on all my emails. I want to cancel everything I done the dates so that the emails show when they were initially received. I managed to get "the order received" which helps a little, but I don't see the original dates.

    I checked "set date and time automatically", but it does not change the dates on my saved emails.

    Of 'date and time' I tried to drag the month and year of my menu bar.

    Is this something Mac?

  • How to copy "Date to update the" to "Date of creation"?

    For some reason, all my photos have had their 'date Created' changed for a date in 2015? I do not have a back-up I can restore (a more 30 000 photos), but both the "date modified" and the date of "Last opened" remain as the original "date of creation".

    Is it possible to copy the 'date Modified' or the 'last opening' to replace the 'created date '?

    ANY suggestions much appreciated.

    Thank you and happy new year,

    Kenneth

    I use a MacBook Air with the latest Photos and operating system installed.

    Where you see the 'creation Date' in the Photos?  The information about the Photos Panel is only indicating the date of capture integrated in the file original image IPTC and EXIF tags.

    File creation date that you see in the Finder, if you access the originals using the Finder, may change, if your library is synchronized with iCloud. All original image in my library on my MacBook Pro to iCloud retina display a date of creation sometime in July, when I downloaded the iCloud library.

  • How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    How can I update the expiration date on my credit card account?

    Go to your Bank and get a new card.

  • Planted in the middle of the intallation: "could not update the registry data.

    My hard drive was a hardware malfunction and had to be replaced altogether. I just got my new hard drive, and after fit, he tried to install vista Home premium 32B, that came with my dell inspiron 530 computer. About 10 minutes after the installation a message announcing that "windows could not update the registry data" and "installation has been cancelled. This was repeated several times. Any ideas why and how to solve?
    Thank you.

    HI -.
    Other people who have had this problem report that choose NOT to do the updates during installation allows you to install finish. They are then installing updates once the installation is complete. You see an option to install no updatesa as part of the installation? Barb winter
    Program Manager of Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Unable to connect Adobe cloud after update the expiration date of credit card

    Unable to connect Adobe cloud after update the expiration date of credit card.

    The activation server show that CC has expired on 21 September, 2015. Please renew the subscription if possible or re-purchase.

    The best option will be to contact Adobe support for this.

    Concerning

    Stéphane

  • Update the XML data store

    Hello experts,

    I've created an interface when an xml file is reversed in the form of a source data store. Xml data are pumped into a target of oracle db. All this goes well.

    I'm creating a scenario where I get an xml file from a ftp server on a daily basis (with agent). This new xml file has the same structure as that already used in the interface. The question is: How can I update the data in the xml data store?

    I tried to replace the original xml file, but it does not work and cdc does not seem to apply here, I searched for quite a while now.

    Thank you very much!

    Yves

    Hello

    See if that helps
    XML for the interface Oracle even insert County regardless of input XML file

    Thank you
    Fati

  • Editing the Messages in the project file changes the original date of the email to the current-how date can I change this back?

    I often need to change the subject line in the emails received or sent previously. I do this by editing the drafts folder and then moving them to the storage in another folder. When I edit the original message the original message is replaced by the current date in e-mail header. This means that the message is now 'Out of Place' when I search on the Date. Screenshot attached.

    You might find it easier and have fewer side effects, if you change the object with one of these modules:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/edit-email-subject/

    https://addons.Mozilla.org/en-us/Thunderbird/addon/header-Tools-Lite/

    http://chrisramsden.vfast.co.UK/3_How_to_install_Add-ons_in_Thunderbird.html

  • is com.mslv.oms.automation.AutomationException by updating the order data

    Hello

    I wrote a sample Xquery Automator with external event receiver.

    DECLARE namespace SGD = "urn: com:metasolv:oms:xmlapi:1";

    DECLARE namespace log = "java: org.apache.commons.logging.Log;

    declare namespace automator = "java: oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";

    declare the namespace context = "java: com.mslv.oms.automation.TaskContext";

    " declare osm namespace = ' http://xmlns.Oracle.com/communications/OrderManagement "; "

    declare saxon namespace = " " http://Saxon.SF.NET/ "; "

    " declare namespace xsl = ' http://www.w3.org/1999/XSL/transform ";

    declare the external variable $context;

    declare the external variable $log;

    declare the external variable $automator;

    Let $taskData: = fn:root (.) / CRAMER. Response

    Let $orderId: = $taskData/CRAMERWOID

    Let $jid: = $taskData/CRAMERJOBID

    Let $ordUpdateReqXML: =)

    " < OrderDataUpdate xmlns =" http://www.MetaSolv.com/OMS/OrderDataUpdate/2002/10/25 "> "

    < update path = "/" >

    < job_id > HC < / job_id >

    < / update >

    < / OrderDataUpdate >

    )

    Let $ordUpdateReqXMLStr: saxon =: serialize($ordUpdateReqXML, <xsl:output method="xml" omit-xml-declaration="yes" indent="yes" saxon:indent-spaces="4"/>)

    return)

    Journal: info($log, "### XML Transformed")

    Journal: info ($log, $ordUpdateReqXML),

    Journal: info ($log, "# XML Transformed after serialized"),

    Journal: info ($log, $ordUpdateReqXMLStr),

    Automator:setUpdateOrder($Automator,"true"),

    Context:updateOrderData($context,$ordUpdateReqXMLStr),

    context: completeTaskOnExit ($context, "success")

    )


    but when running it throw exception automation:

    Caused by: java.lang.NullPointerException

    at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.updateOrderData (unknown Source)

    NOTE: - in Design Studio Plugin properties - Xquery Automation tab I tried with two control box checked and unchecked data verification options.

    Please guide me what is wrong with my code.

    Let me know if more information needed on this.

    Thank you

    Stack trace

    com.mslv.oms.automation.AutomationException

    at oracle.communications.ordermanagement.automation.plugin.AbstractExternalReceiverDispatcher.processMessage (unknown Source)

    at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage (unknown Source)

    at oracle.communications.ordermanagement.cluster.message.a.a (unknown Source)

    at oracle.communications.ordermanagement.cluster.message.impl.a.a (unknown Source)

    at oracle.communications.ordermanagement.cluster.message.impl.a.a (unknown Source)

    at oracle.communications.ordermanagement.cluster.impl.a.a (unknown Source)

    at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage (unknown Source)

    at com.mslv.oms.security.base.ControllerBean.processExternalListenerAutomationMessage (unknown Source)

    at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl.__WL_invoke (unknown Source)

    at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)

    at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl.processExternalListenerAutomationMessage (unknown Source)

    at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl_WLSkel.invoke (unknown Source)

    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)

    at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)

    at com.mslv.oms.security.base.OMSController_h9cupp_EOImpl_1036_WLStub.processExternalListenerAutomationMessage (unknown Source)

    at oracle.communications.ordermanagement.automation.plugin.AbstractExternalReceiverDispatcher.processMessage (unknown Source)

    at com.mslv.oms.automation.AutomationDispatcher.onLocalMessage (unknown Source)

    at com.mslv.oms.automation.plugin.AutomationDispatcherImpl.a (unknown Source)

    to com.mslv.oms.automation.plugin.AutomationDispatcherImpl$ 2.a (unknown Source)

    at oracle.communications.ordermanagement.cluster.message.ClusterMessageHandlerBean.onMessage (unknown Source)

    at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:583)

    at weblogic.ejb.container.internal.MDListener.run(MDListener.java:902)

    at weblogic.work.ExecuteRequestAdapter.execute(ExecuteRequestAdapter.java:21)

    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)

    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)

    Caused by: java.lang.NullPointerException

    at oracle.communications.ordermanagement.automation.plugin.AbstractScriptPluginImplementation.updateOrderData (unknown Source)

    I found the solution, just need to order to update set to false after the order data update

    Here is the update of Xquery

    DECLARE namespace SGD = "urn: com:metasolv:oms:xmlapi:1";

    DECLARE namespace log = "java: org.apache.commons.logging.Log;

    declare namespace automator = "java: oracle.communications.ordermanagement.automation.plugin.ScriptReceiverContextInvocation";

    declare the namespace context = "java: com.mslv.oms.automation.TaskContext";

    declare namespace osm = "http://xmlns.oracle.com/communications/ordermanagement";

    declare the saxon namespace = "http://saxon.sf.net/";

    declare namespace xsl = "http://www.w3.org/1999/XSL/Transform";

    declare the external variable $context;

    declare the external variable $log;

    declare the external variable $automator;

    Let $taskData: = fn:root (.) / CRAMER. Response

    Let $orderId: = $taskData/CRAMERWOID

    Let $jid: = $taskData/CRAMERJOBID

    Let $ordUpdateReqXML: =)

    http://www.MetaSolv.com/OMS/OrderDataUpdate/2002/10/25">

    HC

    )

    Let $ordUpdateReqXMLStr: saxon =: serialize($ordUpdateReqXML, )

    return)

    Journal: info($log, "### XML Transformed")

    Journal: info ($log, $ordUpdateReqXML),

    Journal: info ($log, "# XML Transformed after serialized"),

    Journal: info ($log, $ordUpdateReqXMLStr),

    Automator:setUpdateOrder ($Automator, true (()),

    Context:updateOrderData($context,$ordUpdateReqXMLStr),

    (: threshold, I have added to the problem)

    Automator:setUpdateOrder ($Automator, false (),.

    context: completeTaskOnExit ($context, "success")

    )

  • Updating the XML data

    We know how or if you can update or insert new data in an xml file in Flash AS3?

    An example would be a person complete and submit a form, then the input is sent to the xml file to create or update the nodes in the xml file.

    Thanks in advance.

    You can do that directly flash player.

    You can do this via a script server-side, e.g. a script using php that processes the application of flash, but often the data in this type of scenario would be stored in a database instead of an xml file (however you use php to update an xml file is quite possible too)

  • Impossible to update the display data

    Hello
    I created a simple view based on a table, but I can't update the data in the view. How can I do that.

    Thank you

    You will need create an INSTEAD OF trigger to update the base table of way...

    for example

    SQL> select * from test1;
    
         EMPID DT                        SALES       COMM
    ---------- -------------------- ---------- ----------
             1 26-SEP-2009 10:19:05        200          0
             1 29-SEP-2009 10:19:05        300          0
             1 06-OCT-2009 10:19:05        100          0
             2 01-OCT-2009 10:19:05        400          0
             2 04-OCT-2009 10:19:05        150          0
    
    SQL> create view vw_sales as
      2  select empid, sum(sales) as sales, sum(comm) as comm from test1
      3  group by empid;
    
    View created.
    
    SQL> select * from vw_sales;
    
         EMPID      SALES       COMM
    ---------- ---------- ----------
             1        600          0
             2        550          0
    
    SQL> update vw_sales set comm = sales*0.1;
    update vw_sales set comm = sales*0.1
           *
    ERROR at line 1:
    ORA-01732: data manipulation operation not legal on this view
    

    So, as a standard, we can update the display because it contains aggregates.

    If we create instead of trigger on the view, we can grab the update and update "instead of" the view's base tables...

    in my example, I'll answer to update the commission on the employee, by spreading the commission also on all sales for this employee records...

    SQL> ed
    Wrote file afiedt.buf
    
      1  create or replace trigger trg_vw_sales instead of update on vw_sales
      2  begin
      3    update test1
      4    set comm = :new.comm / (select count(*) from test1 where empid = :new.empid)
      5    where empid = :new.empid;
      6* end;
    SQL> /
    
    Trigger created.
    

    So now, we should be able to update the view...

    SQL> update vw_sales set comm = sales*0.1;
    
    2 rows updated.
    
    SQL> select * from vw_sales;
    
         EMPID      SALES       COMM
    ---------- ---------- ----------
             1        600         60
             2        550         55
    

    It's looks right. The commission shall be 10% of the total value of sales. :)

    And if we check the base table...

    SQL> select * from test1;
    
         EMPID DT                        SALES       COMM
    ---------- -------------------- ---------- ----------
             1 26-SEP-2009 10:19:05        200         20
             1 29-SEP-2009 10:19:05        300         20
             1 06-OCT-2009 10:19:05        100         20
             2 01-OCT-2009 10:19:05        400       27.5
             2 04-OCT-2009 10:19:05        150       27.5
    
    SQL>
    

    ... the commission is evenly distributed over the sales as we wanted.

    ;)

  • Update the field Date according to the date of another field

    Hi I have a field called "contract end Date" which I update manually according to the contract, and a field called "notify contract end Date" I want to be updated automatically with the "end of contract date" - 45 days.
    Is this possible via workflow? can someone give me the syntax that works? If I want to manually insert the value of the field 'Date to end the contract to notify' it will overwrite it?
    Thank you, David

    Hello!

    Create your workflow on your object type, select the before saving the trigger modification event, put the following condition:

    [< contract end date >] <>MEADOW ("< the contract end date > '")

    And in action, update the field End Date of the contract to notify with end Date of contract - 45 and check the replacement value. You contract end Date field must be with the type date.

    I hope this will help, do not hesitate to ask for more!

    Max

  • Sending data through the serial port and the mscomm control is not the same as the original data

    Please find attached the mscomSerialWrite2.vi and the resulting image.

    Try it and find that when data "FFAE" 4040 EA41 D8FF is sent,

    the received data are "FFAE" 4040 EA41 3F

    I tried other data, the result is as follows:

    sending: 4164 8163 4341 03 receive: 41 64 81 63 43 41 03 leadK
    sending: A143 B245 6AAA BBCC receive: AA BB 00 A1 B2 45 6a 43 result: NG
    sending: AAAA AAAA AAAA AAAA AAAA AAAA receive: result AA AA AA AA AA AA AA AA AA AA AA AA K
    sending: A1A1 A1A1 A1A1 A1A1 A1A1 receive: result A1 A1 A1 A1 A1 A1 A1 A1 A1 A1K
    Send: FFAE 4040 EA41 D8FF receive: FF AE 40 40 41 EA 3F result: NG
    Send: FFAE 4040 EA41 D8FF AA23 AB33 A233 AAAA A404 ABCD A2CD A22D B22C receive: FF AE 40 40 41 EA 3F 3F 3F 3F AA AA AB CD A2 CD result 3F 3F 3F: NG
    Send: FFAE 40A 2 SDAC AETS receive: result FF AE 40 A2 CC DD EE 00: NG

    Please help me solve the problem.

    According to Microsoft, you want something with non-printable strings as an array of bytes, not a string.  I don't know that it will make a difference in this case, but may be worth a try.

  • Update the metadata/data in the cube considered ASO of BSO

    Hi Experts,

    I'm creating a cube of ASO reports and would like to know the best way to automate the update of metadata and data of a BSO cube without the use of a partition? This is my first time with ASO. Any idea or examples would be much appreciated. Please notify.

    Thanks in advance!

    Use the command 'clear data' in calc script or its all in your script report how you extract... :))

  • keep the original date of attachments

    When I download attachments, they always get the time of day that I download them. I want to keep the date at which they were made. Is this possible?
    I'm not sure if the e-mail program that sends to changes me the date, or my Thunderbird the fact receiver.
    Thank you for your ideas!

    Thank you so much, Toad Hall, it is very useful! It's like I expected, but I was hoping there was some little thing that I didn't know of. Thanks for your explanation!

Maybe you are looking for