Viewing 3 posts - 1 through 3 (of 3 total)
Paul,
You're right there's no need to shrink the tempdb. I was just using that as an example. Obviously you need to change the database and log file name...
October 17, 2007 at 8:19 am
#742736
True, but that's why you backup the log file every so often during the day...
Jim
October 17, 2007 at 8:14 am
#742731
Here's a query that I use to shrink the log file and the database:
--Shrinks a database Manually
sp_dboption 'temp', 'trunc. log on chkpt.', 'TRUE'--Set a checkpoint
use tempdb checkpoint--Declare the checkpoint
go
--Shrink the...
October 17, 2007 at 7:50 am
#742718