This is a combination of logic from 2 previous posts - this piece of code will truncate the log file size for all the databases in a SQL Server. It has been tested against SQL 2000 and 2005 --delcare variables declare @vchrTable varchar(200), @vchrMsg varchar(200) --declare the cursor DECLARE curTables...