I noticed my tempdb is 2 gigs earlier. This seems a little large to me. I did a bit of googling and came up with this:
use tempdb
backup log tempdb with NO_LOG
dbcc shrinkfile (templog,0)
dbcc shrinkfile (tempdev,0)
however this doesn't shrink the data file only the log. Any ideas why? or how I can shrink it?
Thanks
use tempdb
backup log tempdb with NO_LOG
dbcc shrinkfile (templog,0)
dbcc shrinkfile (tempdev,0)
however this doesn't shrink the data file only the log. Any ideas why? or how I can shrink it?
Thanks