DBCC ShrinkFile

  • Hi everyone... I´m trying to compact my log database file using dbcc shrinkfile but nothin happening.

    Do you´ve got any idea...?? Or what could I do to compact these DB ?

    Regards...

  • Hi,

    Before shrinking use

    BACKUP LOG WITH TRUNCATE_ONLY

    and then do

    DBCC SHRINKFILE(2)

    (I am assuming that you have only one log file)

    This should work.

    Regards.

  • Thx Xearo.. I´m gonna try

     

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

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