To shrink the DB Transaction Log file,
USE DatabaseName
GO
DBCC SHRINKFILE(<log file name>, 1)
To find out the Log file details:
USE DATABASENAME
exec sp_helpfile
To shrink the DB Transaction Log file,
USE DatabaseName
GO
DBCC SHRINKFILE(<log file name>, 1)
To find out the Log file details:
USE DATABASENAME
exec sp_helpfile
Tags: shrink log, SQL server 2005
This entry was posted on March 11, 2010, 11:41 am and is filed under SQL server. You can follow any responses to this entry through RSS 2.0. You can leave a response, or trackback from your own site.
Arclite theme by digitalnature | powered by WordPress
follow: