Results 1 to 2 of 2

Thread: Deleting Set of Rows

  1. #1
    Alan Guest

    Deleting Set of Rows

    Based on no order whatsoever, you do a query on one table. Let`s say 10000 records come up, and you want to get rid of the first 2000. Is there an easy way to do this? Let me know. Thanks.

  2. #2
    VK Guest

    Deleting Set of Rows (reply)

    Just execute command:
    SET ROWCOUNT 2000
    GO
    Than instead of your SELECT run your DELETE.

    VK.


Posting Permissions

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