Results 1 to 2 of 2

Thread: Deleting Duplicate Records

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2004
    Posts
    75

    Question Deleting Duplicate Records

    Hello,
    I am having a Table ABC with one Field Named FieldID,
    There are many duplicate record in that Filed.
    I want to Delete some of them.
    for. eg. Value 3 is repeating 7 times
    I want to Delete 2 Row of them.
    If I am deleting manually it is giving error.
    How can I delete.

    Pls help me.
    Thaks in advance
    Have a nice day.
    Shailesh & Rajani

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    How do you know which row is to be deleted? You're probably getting an error because of the ambiguity that's present due to the duplicate records.

    I'd suggest you perform a DISTINCT query on the table into another table, then recreate the original table with the values you retrieved.

    Watch your step though.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width