Rambler
Ten Centuries
Points: 1301
More actions
November 15, 2010 at 6:43 am
#1250682
Thanks for the hints, I ended up using sp_MSforeachdb, because I couldn't figure the way around putting the whole cursor in dynamic statement.
At least it works finally.
Perry Whittle
SSC Guru
Points: 234013
November 16, 2010 at 1:57 am
#1251157
Be aware the shrink may have no effect on some log files. If the active portion of the log occupies the end of the file you may not shrink below that point!
-----------------------------------------------------------------------------------------------------------
"Ya can't make an omelette without breaking just a few eggs" 😉
Viewing 2 posts - 16 through 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply