Viewing 15 posts - 661 through 675 (of 59,091 total)
Excellent query Jeff. Thank you, thank you! Multiplying by 'combo' within the TOP clause is very nice
Thanks for the feedback, Steve. The hard part was to make "Combo" available...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2024 at 12:08 pm
You working code link leads to a "Run this fiddle" link. I cancelled from there.
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2024 at 12:06 pm
Since you posted a graphic of the execution plan instead of an actual execution plan and you post no meta-data for the table and you posted no code, we're going...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2024 at 11:55 am
The correct term is "PFM". 🙂
WITH cteCombo(Combo) AS (SELECT TOP 1 is_combinable FROM #project_types ORDER BY NEWID())
SELECT project_types_ = string_agg(ca.project_type, N', ')
...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2024 at 12:43 am
but most of the clients wants also using Manually written SQL statements using a functions we call "AdHoc Query" which basically sends the text as Query, and they can...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 2, 2024 at 5:51 pm
Remember the company that we're talking about...
It's the company that couldn't see the benefit of a series generator for more than 15 years and, when they finally did release it,...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2024 at 3:07 pm
I've not used or done a deep review of the article at the following link but, at a 60,000 foot level, it seems like it may be one of the...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2024 at 2:08 am
Thanks for posting your discovery, Mark.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 30, 2024 at 12:37 am
Thanks for the feedback.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2024 at 9:10 pm
Well, I am always using the execution plan, so I can understand what's happening, which indexes are used, which are not and I see the suggestions, but I have...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2024 at 7:07 pm
"Bumping" this thread so the first 2nd page post above shows up.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2024 at 6:20 am
First of all, determine if all those "wonky views" are indexed views or not.
As for not having a DATE dimension, so what? You've been here on SSC to know exactly...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2024 at 3:17 am
Talk to your SAN folks. SAN snapshots are perfect for this.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 28, 2024 at 3:09 am
Hello,
Thank you for your kind response
In this scenario, the goal is to generate a report according to client requirements without using any reporting tools. The query output is directly...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 27, 2024 at 2:22 pm
Did you try Jonathan's code?
Jonathan's code works only for 3 falculty members. The op will "settle" for up to 20.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 27, 2024 at 2:17 pm
Viewing 15 posts - 661 through 675 (of 59,091 total)