Viewing 15 posts - 1,396 through 1,410 (of 59,067 total)
The real problem is that even the "Actual" execution plan is riddled with estimates and the % of Batch junk is the worst. It's pretty easy to create a couple...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 8, 2023 at 6:03 pm
I'll recommend that you can mitigate risk by (as previously stated) first making sure that the index is not a unique index and ,second, just disabling the index and see...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 7, 2023 at 2:30 am
Is the QUOTENAME to make the sample data? 🙂
Yes... the QUOTENAME is supposed to be used just to make the sample data and isn't required to be posted. It...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 7, 2023 at 1:55 am
If you want better help, please post your example data as "Readily Consumable" data instead of a graphic. See the article at the first link in my signature line below...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2023 at 9:00 pm
All that hype and it still produces incorrect answers to simple SQL questions that won't even execute. And, it's method of posting (in one case) 30 different links to things...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 5, 2023 at 8:30 pm
My Dad told me when I was quite young that "Half of all that is written is wrong and the other half is usually written in such a fashion that...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 3, 2023 at 3:15 am
Lordy... such companies exist but, man, they're very rare. Most companies are like the one you speak of... they've adopted a horribly misshapen, grossly incorrect, interpretation of what "Agile" is...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 2, 2023 at 5:37 pm
Since you're new, please see the article at the first link in my signature line below if you want tested code. For me, it's super rare for me to post...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 2, 2023 at 2:03 am
That's a great idea, Jonathan. Unfortunately and as the OP revealed in the post at the link below, the reasons aren't quite that simple.
https://www.sqlservercentral.com/forums/topic/not-like-alternatives-in-where-clause#post-4200971
--Jeff Moden
Change is inevitable... Change for the better is not.
June 1, 2023 at 1:39 am
Isn't this a job for "Replication"? IIRC, it can even update the meta data in the target to match that in the source.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 1, 2023 at 12:56 am
I'm not sure that I understand your question but, at face value, I have to say that "It Depends" on the privs you give "the business", whatever that is defined...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 1, 2023 at 12:52 am
Thank you, Jeff.
Much appreciated.
I just remembered a bit of trick code using "Cascading CTEs" that I did about a million years ago for the exact opposite of what you're...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 1, 2023 at 12:40 am
So can anyone say have they turned the old Model-T into a futuristic hover car or at least a hybrid?
No. But consider that the Model-T still does exactly what...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2023 at 2:08 am
1. Only #temp or ##temp tables.
2. Yes
3. Sadly no.
Massive thanks.
Heh... they really don't want this to be fast, do they? 😉
Instead of TempDB, how about a very small database...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 31, 2023 at 2:00 am
Thank you, Jeff. The real data will have various reasons, but I need to exclude only three out of the rest. I can confirm now the pipe (|) can...
--Jeff Moden
Change is inevitable... Change for the better is not.
May 30, 2023 at 11:41 pm
Viewing 15 posts - 1,396 through 1,410 (of 59,067 total)