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