Viewing 15 posts - 811 through 825 (of 59,060 total)
It returns over 22m records in about 5 minutes.
According to your query, you're returning 22 million rows to the screen...
Question: What makes you think that's going to be fast? ...
January 4, 2024 at 4:05 am
That's great but without the book, the uncommented code you posted doesn't explain at all what the code is supposed to be teaching.
January 4, 2024 at 3:54 am
A serious word of caution on the use of PAGE compression... If you're into doing any index maintenance, PAGE compression will nearly double the time and CPU it takes. You...
January 4, 2024 at 3:39 am
It's just a select from 3 tables, and 2 of them are with left join. For aggregations, I would have done it on SQL Server side. Now I...
December 30, 2023 at 12:29 am
Is your "report" going to return all 600 Thousand "records" or is it going do some form of aggregation?
December 29, 2023 at 2:44 am
Heh... AI being "confidently incorrect"... Imagine that. 😛
December 29, 2023 at 2:36 am
To repeat the question that Phil asked but in different words....
You say something would "return error". Please copy and post that error.
December 27, 2023 at 7:06 pm
The following will do it without anything "fancy" that might not work in Oracle, which I've almost totally forgotten about.
WITH
cteMinCustNbr AS
(--==== Calculate the minimum...
December 26, 2023 at 4:43 am
Why I was never popular with bosses:
Boss: Welcome to the shortest day of the year!
Me: Aren't all days 24 hours?
BWAAA-HAAA-HAAA!!! "IT DEPENDS".
December 23, 2023 at 9:31 pm
I actually just realised PIVOT isn't working when Multiple rows are present Putting a fake aggregation such as MAX isn't working as expected.
I'm stumped 🙁
Any ideas, to point me...
December 22, 2023 at 11:57 pm
Same to you and yours, Steve. And Merry Christmas to everyone. This is a well deserved 4 day weekend for me. Next weekend is, as well.
December 22, 2023 at 11:50 pm
Update. We migrated from 2016 Enterprise Edition to 2022 Enterprise Edition. Virtually everything is run 30-40% slower. I also did some simple tests between 2017 and 2022 on the same...
December 22, 2023 at 7:55 am
The following isn't dependent on DATEFIRST at all.
DECLARE @AnyYear INT = 2023;
SELECT ThanksGiving = v1.TG
,BlackFriday =...
December 18, 2023 at 9:04 pm
I agree... for the OP, I've not had to work with Linux nor containers.
Hopefully, this will be a nice "bump" to get someone that has to take a look at...
December 18, 2023 at 8:53 pm
I'm just saying that it is ALWAYS good to pick the right tool for the job.
Yep. Understood. All I'm saying is that too many people think that xp_CmdShell isn't...
December 18, 2023 at 6:36 pm
Viewing 15 posts - 811 through 825 (of 59,060 total)