Viewing 15 posts - 661 through 675 (of 59,099 total)
I'd have to see more but I'd start with the idea that the "Starter" is actually a "Product" and that product becomes an "Ingredient" as if you bought it from...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 19, 2024 at 3:23 am
I would use the following code to get 'last' Sunday. Seems a bit simpler than the current version.
SELECT DATEADD (wk, DATEDIFF (wk, 0, GETDATE ()), 0)...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 15, 2024 at 2:01 pm
Do not use DATEDIFF(WK) if you need for the first of the week to be based on any day of the week other than SUNDAY. It is ALWAYS based on...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 15, 2024 at 1:38 pm
That might be your network or connection. The links work for me.
Might be me, indeed. I'm running some pretty secure connections. If the connection doesn't prove themselves to...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 13, 2024 at 1:56 am
And then there's the change in security or the deletion of a full site with no record but a trail of now broken links...
Secure Connection Failed
An error occurred during a...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 12, 2024 at 9:18 pm
I think your point about humans needing a change of pace rings true.
I know it sounds daft but I used to enjoy the excitement that surrounded a major...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2024 at 7:07 pm
I uploaded your picture to ChatGPT 4 and asked it to: "Write a SQL Server create table (table name: XXXRE60P) and insert script for this, make sure you...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 11, 2024 at 6:30 pm
I've discovered that the table is updated overnight and the issue re-occurs overnight.
If I run the code in the morning then it takes too long to complete. If I...
--Jeff Moden
Change is inevitable... Change for the better is not.
April 9, 2024 at 12:54 pm
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
Viewing 15 posts - 661 through 675 (of 59,099 total)