Forum Replies Created

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

  • RE: Shrink Transaction Log

    Hi,

    you should run the script 5 times.

    Your size decrease..

  • RE: Shrink Transaction Log

    use YOURDBNAME

    DECLARE @DB VARCHAR(40)

    SELECT @DB = 'YOURDBNAME'

    CHECKPOINT

    EXEC('DBCC SHRINKFILE (YOURDBNAME_log, 1, NOTRUNCATE)')

    EXEC('DBCC SHRINKFILE (YOURDBNAME_log, 1, TRUNCATEONLY)')

    CREATE TABLE txxxx (char1 char(4000))

    DECLARE @i int SELECT @i =...

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