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) A socialist is someone who will give you the shirt off *someone else's* back.

  • 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