Viewing 15 posts - 1,261 through 1,275 (of 59,061 total)
Here's the updated post that actually takes advantage of JSON. No need for TRIM() or STRING_SPLIT() functions because the source is in a proper JSON ARRAY format. Again, this eliminates...
July 19, 2023 at 5:55 pm
p.s. I seem to remember a way to do this directly with JSON and not have to do the STRING_SPLIT() and TRIM() things. I'm looking for it.
July 19, 2023 at 5:38 pm
[EDIT]: DON'T USE THIS METHOD. I left the post here to show you that I'm actually quite the rookie at JSON. There's no need for the complexity of the...
July 19, 2023 at 5:03 pm
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...
July 19, 2023 at 4:05 pm
Thank you very much, it works
Thank you for the feedback!
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.
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...
July 18, 2023 at 3:48 am
Deleted... I misread the problem.
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,...
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...
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...
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...
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. ...
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...
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...
July 16, 2023 at 7:06 pm
Viewing 15 posts - 1,261 through 1,275 (of 59,061 total)