Shrink SQL Transaction Logs

Here is the t- statement used to shrink the transaction logs:

USE <DatabaseName> Go Backup Log <DatabaseName> WITH Truncate_Only DBCC SHRINKFILE(<TransactionLogName>, 1) Go
Related Posts with Thumbnails
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay

Leave a Reply