Viewing 15 posts - 616 through 630 (of 59,078 total)
I implemented a similar solution at work, logging the disk free space (along with database free space) to a table along with when it was recorded. Simple SSRS report...
April 21, 2024 at 9:58 pm
This is very likely a case where the use of a statement level OPTION (RECOMPILE) will work perfectly and very quickly.
April 21, 2024 at 3:30 pm
Heh... you, of all people, should know about "double posting".
Folks, no answers here, please. Instead, go to the duplicate post and post there. Thanks.
April 19, 2024 at 3:25 am
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...
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)...
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...
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...
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...
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...
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...
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...
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...
April 9, 2024 at 12:08 pm
You working code link leads to a "Run this fiddle" link. I cancelled from there.
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...
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', ')
...
April 9, 2024 at 12:43 am
Viewing 15 posts - 616 through 630 (of 59,078 total)