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 |
rpc86
Posting Yak Master
200 Posts |
Posted - 2006-11-24 : 22:06:23
|
We would like to restore a database under SQL Server 7. But the problem is we have a file named TEMPLOG.LDF which consists of 17GB, so this is a very huge file.Can we delete the LDF file just to free-up space?Thanks |
|
snSQL
Master Smack Fu Yak Hacker
1837 Posts |
Posted - 2006-11-24 : 23:30:02
|
If you detach the database (the one using templog.ldf) using sp_detach_db you should be able to then reattach the database with sp_attach_db, without that LDF file. I'd recommend that after detaching, you just rename that file, don't delete it. Then reattach the database and if it attaches without problems, you can delete that file, but if you have problems then just rename the file back. This should work fine though. |
|
|
Kristen
Test
22859 Posts |
|
|
|
|
|
|