Results 1 to 2 of 2

Thread: Delete duplicate rows with no unique columns

  1. #1
    Sanjay Manial Guest

    Delete duplicate rows with no unique columns

    I have 4 rows which are exactly the same. I want to delete one row but i do not have any unique identifing columns. How should i delete that row ?

  2. #2
    Andrew Wiegand Guest

    Delete duplicate rows with no unique columns (reply)

    Hi,
    You can delete only one record with set rowcount.

    set rowcount 1
    delete from <table>
    where <constraint goes here>

    hth,
    Andrew


    ------------
    Sanjay Manial at 4/3/00 5:52:36 AM

    I have 4 rows which are exactly the same. I want to delete one row but i do not have any unique identifing columns. How should i delete that row ?

Posting Permissions

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