Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
readysetstop
Posting Yak Master
123 Posts |
Posted - 2007-03-05 : 10:50:41
|
I have a 2.5 GB database with a 145 GB log file (The things I inherit around here...) I have changed the recovery model to simple and ran BACKUP LOG STCRRB WITH TRUNCATE_ONLY. The log file still remains at 145 GB. Figuring I missed something, I ran the following:alter database stcrrb set recovery simplegobackup database stcrrb to disk = 'D:\STCRRB.bak'backup log stcrrb with TRUNCATE_ONLYgo Still at 145 GB on the log. I ran DBCC OPENTRAN(STCRRB), but it said there were no open transactions, so that's not it. What should I check or do next? Thanks for any and all help.-D. |
|
spirit1
Cybernetic Yak Master
11752 Posts |
|
readysetstop
Posting Yak Master
123 Posts |
Posted - 2007-03-05 : 12:25:15
|
spirit1, The command worked perfectly, and the link was quite helpful. Thanks for both.-D. |
 |
|
|
|
|