Results 1 to 6 of 6

Thread: Delete fills logs.

  1. #1
    Join Date
    Aug 2004
    Posts
    188

    Delete fills logs.

    I'm trying to do a very large delete. I set the db to simple mode thinking that the Trans Log will not fill during the delete.

    But it does still fill. I thought if you used simple mode the logs are not used?

    Any thoughts?

  2. #2
    Join Date
    Aug 2004
    Posts
    188
    Could it be that the table has indexes? If this is the case they should be deleted then recreated after the delete, correct? Or am I off with this thought.

    thanks

  3. #3
    Join Date
    Sep 2002
    Posts
    5,938
    Nothing to do with index, you should delete rows in small batch.

  4. #4
    Join Date
    Aug 2004
    Posts
    188
    OK, hmm can I do that with sql statements or do i have to use a batch file?

    Thanks for your time.

  5. #5
    Join Date
    Sep 2002
    Posts
    5,938
    You should modify where clause for that.

  6. #6
    Join Date
    Aug 2004
    Posts
    188
    Thanks for your help.

Posting Permissions

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