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 |
|
vics
Starting Member
7 Posts |
Posted - 2002-03-16 : 08:29:11
|
| Gang, I've got a 2gb transaction log growing out of control. Ordered another drive- will be installed next week. In the interim, is there anyway to shrink it? - Thanks !Vichttp://www.I-BMW.com |
|
|
nr
SQLTeam MVY
12543 Posts |
Posted - 2002-03-16 : 10:08:47
|
| Easiest way is to backup the database (for safety).Detach the database.Delete the ldf file.Attach the database - it will create a new ldf.You should also look at the system to find out why the ldf gets that big and redesign so that it doesn't happen again.==========================================Cursors are useful if you don't know sql.Beer is not cold and it isn't fizzy.Edited by - nr on 03/16/2002 10:09:50 |
 |
|
|
|
|
|