July 6, 2021 at 2:18 pm
Comments posted to this topic are about the item Index fragmentation on all databases
July 12, 2021 at 8:05 am
You know, I kind of prefer the kinds of questions where there is a way to answer the question 😀
July 12, 2021 at 2:42 pm
You know, I kind of prefer the kinds of questions where there is a way to answer the question 😀
This wasn't someone posting a question. This site allows folks to share scripts and that's what this post was.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 12, 2021 at 3:12 pm
Ooops!
This isn't the first time I've accidentally clicked on the "Featured Script" link instead of the "Question of the Day" link. And to add to my confusion, I misread "Can be run on multiple instances in the same time using central management capability." as "Can this be run on multiple instances in the same time using central management capability?".
So apologies to the OP, although to be honest, I put it down to a misstep in the QOTD management, rather than an error on OP:s part.
July 12, 2021 at 4:29 pm
Heh... I make mistakes of that nature prior to having at least 2 full 12 oz mugs of coffee. That means it's been happening a whole lot to me lately so I have a real live appreciation for what you've just explained. 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
January 4, 2022 at 7:50 am
Just a heads up, master.sys.sp_msforeachdb is still undocumented and unsupported by Microsoft, and it can - with many databases - simply skip some without any warning or errors, using a simple cursor would guarantee correct result and would in this case be preferable.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply