First off, You CANNOT REVERT this command, so be sure you want to truncate the log! THE QUERY Instructions: Just replace with your DB
|
1 2 |
BACKUP LOG <DBNAME> WITH TRUNCATE_ONLY DBCC SHRINKDATABASE( '<DBNAME>', TRUNCATEONLY) |
|
First off, You CANNOT REVERT this command, so be sure you want to truncate the log! THE QUERY Instructions: Just replace with your DB
Problem: receiving this error on freebsd 6.1
To investigate run this command:
If mysql is not running then start it like this:
modellog.ldf too big? First try to figure out what’s using the log file: use [model] select (sum(size) * (8192/1024)) / 1024 from dbo.sysfiles WHERE (status & 0×40) 0 DBCC SQLPERF(LOGSPACE) select ceiling((sum(size) * (8192.0/1024.0)) / 1024.0) from dbo.sysfiles exec sp_spaceused DBCC SQLPERF(LOGSPACE) It is very unusual that the model database data or log files would . . . → Read More: Howto: Fix an oversized modellog.ldf |
|||||||||
|
Copyright © 2013 Brakertech - All Rights Reserved i can haz interweb |
|||||||||