Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Database mirroring issue

    -- sql 2000

    USE DatabaseName

    GO

    DBCC SHRINKFILE(<TransactionLogName>, 1)

    BACKUP LOG <DatabaseName> WITH TRUNCATE_ONLY

    DBCC SHRINKFILE(<TransactionLogName>, 1)

    GO

    --- end

    --SQL 2008

    USE [master]

    GO

    ALTER DATABASE [TestDb] SET RECOVERY SIMPLE WITH NO_WAIT

    DBCC SHRINKFILE(TestDbLog, 1)

    ALTER DATABASE [TestDb] SET...

Viewing post 1 (of 1 total)