Viewing 4 posts - 1 through 4 (of 4 total)
Vishal, I forgot to add one additional note. The preceding does seem to be executed on every DB (except the four that are excluded), but for each of the...
September 4, 2014 at 12:37 pm
Vishal, Are you still there? I have seen more examples of sp_MSforeachdb than I care to see, but I have yet to see anything that does what I want....
September 4, 2014 at 12:29 pm
What I found that was more interesting to me (and not mentioned in this example), was that the output of the PRINT statement was changed. Here is my example:
Before...
November 20, 2013 at 7:12 pm
Thank you! Much more straightforward than other solutions seen, i.e., you just delete the lines that don't match the date mask. Nice!
October 2, 2013 at 7:33 pm
Viewing 4 posts - 1 through 4 (of 4 total)