![]() |
|
|
#1 |
|
Архивный участник
Join Date: May 2006
Posts: 15
|
How to up some space? Oo
|
|
|
|
|
#2 |
|
Архивный участник
Join Date: Mar 2006
Posts: 135
|
go to C:\Program Files\Microsoft SQL Server\MSSQL\Data.
Delete any _Log.LDF file there that you want. Don't touch any _Data.MDF files, those are the actual database records. That should fix that error... |
|
|
|
|
#3 |
|
Архивный участник
Join Date: May 2006
Posts: 15
|
Thx :]
|
|
|
|
|
#4 | |
|
Архивный участник
Join Date: Jun 2005
Posts: 285
|
Quote:
run in QA Code:
backup log lin2world with truncate_only go use lin2world dbcc shrinkfile (lin2world_log, 1) go |
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Mar 2006
Posts: 135
|
Or you could just delete the log file. I back up my database once in awhile, and I don't need to save a 1gb+ log file :/
I don't know queries lol. None. Manually deleting serves the same purpose. |
|
|
|
|
#6 |
|
Архивный участник
Join Date: Feb 2005
Posts: 307
|
Yeah hr posted exactly what I was going to say, deleting the log file really isn't the right way to do it.
|
|
|
|
|
#7 |
|
Архивный участник
Join Date: Mar 2006
Posts: 135
|
Why not? Doess it cause problems? I don't really delve into the extra options of SQL at all, or the query analyzer, so I don't know.
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Dec 2005
Posts: 82
|
lol I deleted my log file once, it was a nightmare
|
|
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|