Jan 30, 2006 #1 earthandfire Programmer Joined Mar 14, 2005 Messages 2,924 Location GB Is there a way using TSQL to truncate the Transaction Log?
Jan 30, 2006 1 #2 SQLDenis Programmer Joined Oct 1, 2005 Messages 5,575 Location US backup log <name> with TRUNCATE_ONLY and then you can use DBCC SHRINKDATABASE or DBCC SHRINKFILE Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
backup log <name> with TRUNCATE_ONLY and then you can use DBCC SHRINKDATABASE or DBCC SHRINKFILE Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/
Jan 30, 2006 Thread starter #3 earthandfire Programmer Joined Mar 14, 2005 Messages 2,924 Location GB I spent around an hour looking through BOL and you come back with the perfect answer in three minutes. Thanks Upvote 0 Downvote
I spent around an hour looking through BOL and you come back with the perfect answer in three minutes. Thanks
Jan 30, 2006 #4 SQLDenis Programmer Joined Oct 1, 2005 Messages 5,575 Location US You are welcome and tx for the star Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/ Upvote 0 Downvote
You are welcome and tx for the star Denis The SQL Menace SQL blog:http://sqlservercode.blogspot.com/ Personal Blog:http://otherthingsnow.blogspot.com/