Purging / deleting ExternalMailQueue which has around 700,000 records

  • What is the easy way to purge ExternalMailQueue ?

    I tried using END Conversation command but it takes lot of time.

    I dont want to retain any history. What is the quick and dirty way to clear all mail items including Queue.

     

  • Maybe try:

    EXEC msdb.dbo.sysmail_delete_mailitems_sp

     

    SQL DBA,SQL Server MVP(07, 08, 09) "It's a dog-eat-dog world, and I'm wearing Milk-Bone underwear." "Norm", on "Cheers". Also from "Cheers", from "Carla": "You need to know 3 things about Tortelli men: Tortelli men draw women like flies; Tortelli men treat women like flies; Tortelli men's brains are in their flies".

  • This was removed by the editor as SPAM

  • This was removed by the editor as SPAM

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply