Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Reduce size of SQL server log file truncate - Source :NAYCode.com

ALTER DATABASE DATBASE_NAME
SET RECOVERY SIMPLE
GO
DBCC SHRINKFILE (LOG_FILE_NAME_log, size in MB)
GO
ALTER DATABASE DATBASE_NAME
SET RECOVERY FULL
Source by naycode.com #
 
PREVIOUS NEXT
Tagged: #Reduce #size #SQL #server #log #file #truncate #Source
ADD COMMENT
Topic
Name
8+2 =