Viewing 15 posts - 2,596 through 2,610 (of 59,098 total)
At the risk of 'negative feedback' I'll add that after a couple years, I still get the error rejecting my first post effort with "Did you really mean to...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2022 at 3:18 am
p.s. Here's a higher risk method of doing the same thing. It's higher in risk because it uses CheckSums instead of the "full monty" like we did with the String_Agg()...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2022 at 2:36 am
Ok... it took me a minute to figure out what you were asking for and I'll assume that what I stated above is correct.
The following code will do the trick.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2022 at 1:31 am
Just to be sure, what you're asking for is PartIDs that have the exact same FeatureID's and FeatureValue's as a given MessageID, correct?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2022 at 12:28 am
I guess maybe I'm the idiot. I don't know extended events at all but I'm not seeing anything in that code that tells you those locks are from JUST the...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 25, 2022 at 12:07 am
First, welcome aboard. Just to help you on your postings, graphics are great for posting what you want to see or for additional explanations. Most folks on this forum like...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 11:01 pm
I had to give this one 5 stars because it's based on one of the basics in SQL Server, taught 35% of the people something, and there was no intentional...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 10:34 pm
Reminder... STRING_AGG() wasn't available until 2017. The OP posted in a 2016 forum.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 7:21 pm
@WebRunner...
And so there's yet another adage we can add...
"If you want something real bad... that's usually the way you'll get it". 😀
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 7:10 pm
The fly in the ointment is... what does "done" actually mean and when will it come back to bite you? "Done" is just another name for "Good Enough" and I've...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 5:25 pm
Yes... Steve Collins posted an example above. You could also use multiple SELECTs with a UNION ALL.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 2:44 pm
From the Article:
I find that many of us that work in technology want a solution to be great. Often perfect. Computers are so good at following instructions...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 2:42 pm
Yet again it would be helpful if we could see the actual execution plan! 😎
Amen to that!
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 1:26 pm
So I saw a while back that its possible with a case statement, because once this sql code is created it goes into a another software that parses basic...
--Jeff Moden
Change is inevitable... Change for the better is not.
October 24, 2022 at 1:25 pm
Ok... so what is "Criteria 1" and "Criteria 2" to return 1 value or another?
--Jeff Moden
Change is inevitable... Change for the better is not.
October 22, 2022 at 9:37 pm
Viewing 15 posts - 2,596 through 2,610 (of 59,098 total)