Viewing 15 posts - 4,546 through 4,560 (of 59,087 total)
If you look at the previous code, 90% of the answer is in the first CTE. All you have to do to that is add some of the original columns...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2021 at 7:49 pm
Jeff, I'm not about points (I give most of mine away) or "3 pointing stripes", whatever that means. Somewhat like yous here, I donate my time to help people...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2021 at 6:44 pm
A possible alternative to all that is maybe it should be in an iTVF (inline Table Valued Function) so that it can be called by multiple procs and still be...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2021 at 6:30 pm
Current index inventory
Current index usage
New indexes recommendations
What do you think should I add ?
NOTE: Edited to clarify what can be automated and what requires "human judgement".
And I give up...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2021 at 6:16 pm
I think that a couple of better questions to ask your self is do you like your current job and are you happy with how much you're making?
I've also seen...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 2, 2021 at 5:22 am
I had someone ask me how many a couple was this morning, it was just one of those weird moments where I assumed that was just standard knowledge but...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2021 at 4:36 am
I agree with you Jeff and with your "ERROR in ACCURACY" definition 🙂
I have to thank you for the question! It's also ironic that I actually had to do...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 1, 2021 at 4:34 am
To Grant's point, we can only guess about such a thing on a totally out-of-context snippet of code.
That, notwithstanding, I have the following comments on this...
First, since (in most cases...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 5:10 pm
Ah... two questions also come to mind.
Don't forget my question about SET IDENTITY_INSERT ON above...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 1:32 pm
Also, plans are not a measure of performance. They're a description of behavior. Be cautious about looking at them as a measurement stick.
+1000000! I will probably not hear more...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 1:23 pm
You can do something like the following link contains to "pre-process" a file. If you can use xp_CmdShell (it's NOT the security risk most will say it is if you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 2:55 am
That might work if I can figure out how to get line breaks after each row.
CHR(10) should work as the "separator".
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 1:53 am
You should also not use SELECT to set the variable - use SET instead:
WHY? What do you base that recommendation on?
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 1:46 am
Whomever is doing the security audit should have one of their own.
Also, please try Google on this question. You'll find lots of scripts.
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 1:14 am
And, before you move to RDS, consider this... IIRC, you won't be able to restore a single database in the future. Instead, you'll need to restore the entire instance. Actually,...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 30, 2021 at 12:55 am
Viewing 15 posts - 4,546 through 4,560 (of 59,087 total)