Shrink large MDF file

  • Hi,

    We had a little incident on our production server that caused a table named 'Log' to grow to 2 million records. That was fixed by recreating that table as 'Log1', dropping 'Log' and renaming 'Log1' as 'Log'.

    The LDF log file grew to 97GB and the MDF data file to 38GB; their normal size should be around 4GB.

    How can I resize them to a normal size?

    Thanks,

    Raymond

  • use DBCC shrinkfile(filename, 0).

    it shirnks unused a memory...it works..!!!

Viewing 2 posts - 1 through 1 (of 1 total)

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