Viewing 15 posts - 1,291 through 1,305 (of 59,072 total)
Interesting article, thank you. The error returned 1 for the state.
Our dev team updated the code that generates the EF query, and that has resolved the problem (so I...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 19, 2023 at 4:05 pm
Thank you very much, it works
Thank you for the feedback!
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2023 at 11:41 pm
The SQL code is not all uppercase when viewed on my browser (Chrome):
Interesting. Thanks for the feedback, Phil.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2023 at 11:40 pm
The last group of data in your example data looks like this...
,(2,7, 210,1)
,(2,8, 211,1)
,(2,9, 212,1)
,(2,10,212,-1)
,(2,11,211,-1)
,(2,12,212,-1) --<---<<< LOOK HERE!
Shouldn't that last line have an Order_ID of 210 instead...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2023 at 3:48 am
Deleted... I misread the problem.
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2023 at 1:26 am
The company hired him was looking for forecasting. I'm not sure how it ended, but I know the company was upset with him.
Didn't they interview him? Given the choice,...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2023 at 12:54 am
Jeff, I honestly don't remember what my answer was. but I'll add this: Today my answer would be :
"If I ever get out of this silly-assed meeting I'll go...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 18, 2023 at 12:49 am
Same indexes on both?
Same MAXDOP on both?
Same Cost Threshold For Parallelism?
Same hardware?
There's a shedload of things that could be causing the 2019 code to be running slower and the list...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 17, 2023 at 4:15 pm
Well, since few days I was searching about SQL courses to become pro on this. One of my friend suggest me some guide to become pro on this and...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2023 at 11:13 pm
My most valuable lesson in the area of resumes and touting accomplishments came from a meeting with the president and co-owner of the company I worked for in 1974. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2023 at 8:54 pm
Yes, we both should have noticed that, but our methods are more general in that they will return the entire row that contains the max date even if some...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2023 at 7:10 pm
I just realized that both Jonathans and Jeffs queries used all 8 cores and mine just used 1 core. So here is the same query with parallell plan
As you...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2023 at 7:06 pm
What's more interesting than any of that is how we missed the forest for the trees. 🙁 The MAX solution that Peter provided is all that's needed here. [headdesk].
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2023 at 3:02 pm
I agree with Jeff 100%. Performance is paramount, assuming the foundation is sound. Bot fast and safe at the same time is an ultimate goal, but at the same...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 16, 2023 at 2:56 pm
We are not designing databases for speed, we are doing it to ensure data integrity. What is the use for data retrieved quickly if it is inaccurate or could...
--Jeff Moden
Change is inevitable... Change for the better is not.
July 14, 2023 at 3:32 pm
Viewing 15 posts - 1,291 through 1,305 (of 59,072 total)