Why can't I shrink a transaction log file, even after backup?

Posted by Jordan Hudson on Stack Overflow See other posts from Stack Overflow or by Jordan Hudson
Published on 2009-04-22T20:46:00Z Indexed on 2010/06/02 1:53 UTC
Read the original article Hit count: 285

Filed under:
|

I have a database that has a 28gig transaction log file. Recovery mode is simple. I just took a full backup of the database, and then ran both:

backup log dbmcms with truncate_only

DBCC SHRINKFILE ('Wxlog0', TRUNCATEONLY)

The name of the db is db_mcms and the name of the transaction log file is Wxlog0.

Neither has helped. I'm not sure what to do next.

© Stack Overflow or respective owner

Related posts about sql-server

Related posts about sql-server-2005