How to shrink SQL log files

ALTER DATABASE <db name> SET RECOVERY SIMPLE
DBCC SHRINKFILE(dblognamenotpath_log)
ALTER DATABASE <db name> SET RECOVERY FULL

db log name is from db properties – it is not path and not file name

or run full SQL backup

run SQL T log backup

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

This site uses Akismet to reduce spam. Learn how your comment data is processed.