Delete one of two Identical record

hi every body,
I have many identical records in a table i want to delete only the dublicate records, if i use delete ... where... it will delete all
identical records (the original and the copy of it), any help?

hi friend,
You can also use this command to delete
duplicate rows.
delete from abc
where rowid not in (select max(rowid) from abc group by field1,field2);
where field1 and field2 which you think same value like empno,ename.
you can use min function in place of max according to your requirement like
if you want to preserve first entered row use min function.
if you want to preserve last entered row use max function.
your
raj
null

Similar Messages

  • Certificate error on only one of two identical systems?

    I recently installed two COMPLETELY identical Ubuntu 12.04 systems, PC01 and PC02. The browser is latest version of Mozilla Firefox.
    When visiting https://www.komplett.dk/k/signin.aspx with PC01, the connection is secure and everything is OK, no error messages. When visiting the same URL with PC02, the following error message is shown:
    This Connection is Untrusted
    You have asked Firefox to connect securely to www.komplett.dk, but we can't confirm that
    your connection is secure.
    Normally, when you try to connect securely, sites will present trusted identification to prove
    that you are going to the right place. However, this site's identity can't be verified.
    What Should I Do?
    If you usually connect to this site without problems, this error could mean that someone is
    trying to impersonate the site, and you shouldn't continue.
    Get me out of here!
    Technical Details
    www.komplett.dk uses an invalid security certificate.
    The certificate is not trusted because no issuer chain was provided.
    (Error code: sec_error_unknown_issuer)
    I understand the Risks
    Why is this happening when the systems are COMPLETLY identical? i have tried to delete the profile folder on both systems, but the result is the same. NO certificates has been manually installed on PC01, so that is not the reason. The file size of cert8.db on PC01 is 94K and on PC02 it is 64K, I do not understand how the size can be different when the profiles are newly created.
    I would really like to find out why I am experiencing different behaviour with Firefox, on two identical systems, so any suggestions or ideas are very welcome.

    The Technical Details show:
    <blockquote>www.komplett.dk uses an invalid security certificate.
    The certificate is not trusted because no issuer chain was provided.
    (Error code: sec_error_unknown_issuer)
    </blockquote>
    The www.komplett.dk server doesn't send a required intermediate certificate.
    *VeriSign Class 3 Extended Validation SSL SGC CA
    You can inspect the certificate chain via a site like this:
    *http://www.networking4all.com/en/support/tools/site+check/
    You can install the intermediate certificate from networking4all site or from this VeriSign page (it is the second one).
    *http://www.verisign.com/support/verisign-intermediate-ca/extended-validation-pro/index.html
    Copy the certificate text to a .cer text file and import this file in the Certificate Manager.
    *Options/Preferences > Advanced > Encryption: Certificates - View Certificates

  • How do I delete one of two admin users in Mountain Lion?

    Hi,
    I have just migrated data from my iMac (Snow Leopard) to a new Macbook Pro (10.8). When setting up the computer at the Apple store, I chose my name and surname to set the computer (icon image is an eagle from the Apple library).
    When I then migrated the data (via external backup and using migration assistant) to the new Macbook, I was prompted to rename the user account ("the user account that you are transferring has the same name as an existing account on your computer. you can't have two user accounts with same name on your computer"). So I renamed the account differently.
    All my data has migrated correctly, including my emails. But I cannot see my personal icon in my mailboxes in Mail, I still see the image of the eagle. I went into system preferences and wanted to delete the original admin user account (the one with the eagle image) but it is greyed out and I cannot delete it.
    What is happening exactly? Why do I see the icon of the other admin user account in my mail and not the one I used on my old iMac. How can I delete this user account? Is there a particular reason why I couldn't delete this account?
    thanks for any guidance I can get on this

    Morning Gean40,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at this article:
    You can't empty the Trash or move a file to the Trash
    http://support.apple.com/kb/ht1526
    Best of luck,
    Mario

  • HT5622 How do I delete one of two Apple ID accounts?

    I have two Apple ID's and want to delete the one associated with an old email address.  My second Apple ID is associated with my new email address, but I don't see any way to delete the old one.

    You can't delete an account, all you can do is remove any personal info from it and stop using it. But any content that you downloaded with it will remain tied to that account, so only that account will be able to authorise its downloads on a new computer, redownload it, and download updates to its apps.

  • Is there another way to delete photos from ipad 2, other than sync. i want to delete one or two photos every now and then.

    when sync, you lose all photos.. and have to start over.   i am using picasa to get my photos.. i noticed when you take a pic from the ipad 2, you can delete
    any photo you want.. i would think that it should be the same no matter how you put photos on the ipad... has any one found a solution to this.. 
    I will keep try different ways.. 

    You only lose photos when you sync, if you don't have the photos you want to keep on your iPad checked in Photos in iTunes.  And no, the only pictures you can delete directly from iPad are those you took with iPad.  All other pictures are managed through iTunes.

  • Two users on my MBA. How to delete one?

    I need to delete one of two users on my MBA. How do I do this so that all data belonging to this user will be deleted too.

    Sytem Preferences > Users & Groups.
    Click little lock next to "Click the lock to make changes".
    Now you can click user you would like to delete, and click "-". You will be asked what would you like to do with that users profile (data)
    Just make sure that the remaining user is an Administrator (it should say "Admin" below the username).

  • I have two identical Mail accounts. How can I delete one without losing all the mail in both accounts?

    I have two identical Mail accounts.  Don't know how that happened -- the second one just showed up one day. If I try to delete one account, I get a warning that all mail in the accounts will be permanently lost.  How can I delete one of the duplicate accounts without losing messages in both accounts?

    Download the yahoo email app, if you already deleted and reinstalled the email account and still have issue.
    This is a known issue with Yahoo email account.

  • How to delete one record out the two?

    Hi all,
    A have an Orders table:
    ACCOUNT, ORDER_NO, ORDER_DATE
    I have a few cases where there two accounts have the same ORDER_NO. I dont think this is right in a traditional Orders/ Orderline relationship!
    For Example:
    ACCOUNT     ORDER_NO     ORDER_DATE
    WYM01     O15506     01/09/2004
    DA4060     O15506     01/09/2004
    What is the best way to delete one of these? There are quiet a few so I was looking into cursors.
    Thanks

    You can do it like this
    DELETE
      FROM orders
    WHERE ROWID IN ( SELECT row_id
                        FROM (SELECT ROWID       row_id
                                    ,ROW_NUMBER () OVER ( PARTITION BY order_no
                                                              ORDER BY ROWID
                                                        ) row_num
                                FROM orders
                       WHERE row_num <> 1
                    );Regards
    Arun

  • Identical iTunes folders on same pc but need to know how to delete one

    I have two identical iTunes folders on my pc. I want to delete one copy to save space but am unable to delete one (or part of it) without deleting the exact same in the other. That is, the action on one folder is exactly mirrored in the other. Any assistance would be appreciated.

    Thanks tt2. Appreciate your help. Fyi, I summed up the size of all my folders and the total exceeded the capacity of my hard drive. And when I deduct the space taken by the iTunes folder, it approximates the capacity consumed. So you are right.
    pricenk
    - now can you help me understand how I can assign you some points?

  • Syncing contacts of two identical phones on one co...

    Hi,
    I just got two identical C5-03 phones for myself and my wife. I created two seperate log-ins on the Nokia Suite and proceeded to sync and finetune the contacts for both of our phones. The problem is that the Suite doesn't seem to treat the phones and log-ins as two separate entities and mixes up the contacts, pictures, etc... of both and makes a mess of things. Is there a way to keep the two phones separate on the Suite??? Surely someone here must have experienced the same situation.
    Thanks.

    Thanks Farby for the quick response. Maybe this is something that Nokia should really look into?
    I have spent the whole day fiddling with this problem. I even gave separate names to the devices (Nokia C5-03**** and Nokia C5-03****) to try to separate the two, but to no avail
    One thing I'm considering is finetuning all my contacts, doing a sync with my phone, disconnecting and then deleting all contacts from the Suite. After that connecting the wifes phone and doing all again for that phone and then not performing any syncs after that.
    It really does look like a totally backwards way of doing something that should be really simple....

  • I have two different apple ID's and need to delete one. How do I do this?

    I have a huge problem. I have two apple ID's and need to delete one. My music is under one and everything else is under another. How do I consolidate and delete an account?

    Apple IDs can’t be merged.
    (113600)

  • I have two apple accounts on one computer. How do i delete one account without deleting the other?

    I have two questions!!   
    I need to know how to delete one account without deleting the other account on the computer?
    I am deleting the account because i have a new laptop that now has the my account... will deleting the account on one computer affect the account on the other laptop?

    What do you mean by deleting the account? One can't delete an Apple ID/iTunes account. One just stops using it.
    Since yo can only have five computer authorized for one iTunes account you might want to deauthorize the computer for that account
    iTunes Store: About authorization and deauthorization

  • I have two iCloud accounts and I want to delete one, help!

    I have two icloud accounts and I want to delete one and have the one across all my devices, however, I have tried a number of times, I have deauthorised all my computers on the old icloud/apple account, yet every time I log back onto my main compputer, the old account comes up. I have tried everything, any help would be appreciated....
    Cheers

    You can't delete an iCloud account.  You can, however, sign out of that account and just stop using it.  Then sign in to your second account on all devices account. 
    OT

  • I have two itunes accounts and want to delete one

    i have two itunes accounts and want to delete one how do  i do this????

    Just stop using it

  • I seem to have two email accounts with my service provider and they are receiving the same email as far as I can see.  Can I delete one and feel safe that I am receiving all of my email.

    I have three separate email accounts showing up in my Mail program on my MacBook Pro.  Two of them are my local email provider one showing up as SaskTel Email and the other showing up as sasktel.net.  The third one is ICloud.  Can I delete one of the SaskTel ones, as they seem to get the same mail.

    What do you tell your friends to use to send you email?
    Are they going to the same "Incoming Mail Server", logging in with the same "User Name" ? If so, they are two instances of the same account, and one can certainly be deleted with impunity.
    This detailed information is in
    Mail > Preferences > Accounts > ...
    ... click on the accountname and inspect those fields.

Maybe you are looking for

  • How to get the total record in the block before save them

    Hello, I need to recalculate the amout for all records in one block before saving them. How can I get it? Thanks for your helping

  • Why doesn't converting a DNG with a later converter update metadata?

    Example: Convert a 7D CR2 with DNG Converter 5.5. This gives certain values of metadata such as color matrices & white level. Now convert that same CR2 with DNG Converter 5.6, and this gives different values of such metadata. (That is reasonable. Aft

  • Return key not creating a new line when using the horizontal text tool

    Going through the adobe after effects 'classroom in a book' examples - when writing a line of single line using the horizontal text tool pressing return does not create the next line underneath, the cursor stays on the same line? Anybody out there ha

  • CDISC ODM schema cause database hang

    In the past couple of weeks, we tried to implement CDISC ODM 1.2 which is a major open standard for clinical trial. We can register the schema: http://www.cdisc.org/schema/ODM1-2-0.xsd . But the database will hang even if we just try to desc any elem

  • Logon prompt is coming

    Hi, In portal I need to access quality server. For a certain iView when I clicked it in Q server, another logon prompt is coming showing that it referring to Production backend. I this case it should not asked for another login i.e. the iview must ge