This is a piece of code that will compact (truncate) SQL logs. It's especially useful when a server has not been backed up for a while and the transaction logs have grown to a dangerous size