sysmail_attachments table size incorrect

  • I ran maintenance on this mail table with sysmail_delete_mailitems_sp but it does not report the size decrease given now that it is empty for the most part. Anyone know if something has to done in addition to correct this?

    running sp2.

    tried update stats.

    checkdb.

    checktable

    Thanks

  • Did you try running DBCC UPDATEUSAGE?

    Pradeep Adiga
    Blog: sqldbadiaries.com
    Twitter: @pradeepadiga

  • yes, but no luck. had a lot of varbinary in there from attachments.

  • hi,

    i had this same problem, the table size would not go down, and i could not shrink the file size despite there being no records in the table.

    as a last resort, i scripted the table out, then deleted and recreated it, which seemed to work.

    Ben.

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

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