• You should do it in several batches. If you give us the code you're using, we might be able to help more. A simple example could be this.

    SELECT 1

    WHILE @@ROWCOUNT > 0

    BEGIN

    DELETE TOP (1000000)

    FROM MyTable

    WHERE MyCondition = 'Delete this row'

    END

    Luis C.
    General Disclaimer:
    Are you seriously taking the advice and code from someone from the internet without testing it? Do you at least understand it? Or can it easily kill your server?

    How to post data/code on a forum to get the best help: Option 1 / Option 2