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 |
|
dnf999
Constraint Violating Yak Guru
253 Posts |
Posted - 2007-12-11 : 06:41:40
|
| HiI need a simple command to truncate my transaction log. Currently it is 4gb and my .mdf file is only 300mb.I have tried BOL, but all I need is a command to truncate it.Thanks! |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-12-11 : 06:47:26
|
You mean you want to SHRINK the transaction log size? E 12°55'05.25"N 56°04'39.16" |
 |
|
|
dnf999
Constraint Violating Yak Guru
253 Posts |
Posted - 2007-12-11 : 07:03:58
|
| Hi I've tried shrinking it, but it does not reduce any more. It's 4gb and I just want it to be as low as possible. |
 |
|
|
dnf999
Constraint Violating Yak Guru
253 Posts |
Posted - 2007-12-11 : 07:05:03
|
| Oh I got it. I changed the back up recovery mode to simple from Full and then shrunk the log file. Everything ok now. Thanks! |
 |
|
|
|
|
|