• Run the following, replace DBNAME with your database name and FILEID with the file id.

    BACKUP LOG DBNAME WITH NO_LOG

    GO

    USE DBNAME

    GO

    DBCC SHRINKFILE (FILEID, 128, TRUNCATEONLY)

    GO



    Shamless self promotion - read my blog http://sirsql.net