"Fnv" <fn*******@xxx.mi.madritel.es> wrote in message news:<bk*********@noticias.madritel.es>...
Hello,
I'm working with SQL 7 and I have one ldf 30 times the size of the database,
someone knows the way to truncate this log in order to have te correct one
and be able to have free space on disk?
Thanks in advance
Fnv/
Hi,
Use this syntax to truncate the log:
BACKUP LOG database_name WITH NO_LOG
You could use NO_LOG or Truncate_only . They are sysnonyms.
After that you may probably want to do a
dbcc shrinkdatabase database_name
to reduce and gain back the size.
Regards,
-Manoj