Viewing 15 posts - 1,366 through 1,380 (of 59,067 total)
Then, there are releases like 2016 where they changed some things that cause "silent failures producing incorrect rounding" in the DateTime datatype.
And, for a change, I shall be...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 19, 2023 at 3:25 pm
I tried your script with 10 million rows and it took 25 seconds with dbo.fnTally using 126 MB log file. With GENERATE_SERIES it took it took 126 seconds using...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2023 at 8:00 pm
Heh... this reminds me of every bloody release since and including 2005. The ones before that didn't seem nearly as bad. Maybe because there were fewer moving parts.
The spooky part...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2023 at 5:02 pm
Heh... or resolve yourself to the fact that no one will make any changes to the code no matter what you find and just let them do the testing they're...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2023 at 4:52 pm
From my testing SQL Server's GENERATE_SERIES is efficient and well-optimized. It's not surprising it performers better than user defined functions as it is implemented in the native code of...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2023 at 4:48 pm
It turns out that you had an "anomaly" at the end of your link. Here's the correct link...
https://www.brentozar.com/pastetheplan/?id=B1Ons1TUn
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2023 at 5:27 am
option 1 is incorrect - just discard it.
can you give the plan for the second? was expecting it to be a bit faster than that.
no problem
here...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 18, 2023 at 5:12 am
Knowing your feelings on so called SQL Server best practices, Jeff, would you trust a tool like this if it existed 😏
Heh... You DO know me. That also means...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 17, 2023 at 11:14 pm
That's the article which had shaped my low expectations. Good to know it's been improved. It's also interesting Jonathan used GENERATE_SERIES in place of the non-itvf method of TOP...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 17, 2023 at 11:02 pm
These are great comparisons. The so-far winning code was jointly arrived at. Interesting in a straight comparison GENERATE_SERIES appears faster than fnTally
According to some testing that I saw (IIRC)...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 17, 2023 at 2:01 am
Crud... sorry. I'd posted a link to the BPA for Windows, not SQL server. I took the post down.
Looking into it further, I don't even know if such a thing...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 16, 2023 at 11:43 pm
Sounds to me like some connection zealot wrote a proc to drop all sleeping connections every night.
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2023 at 5:16 pm
Thanks a lot. Much appreciated.
Do you understand how it works?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2023 at 2:46 am
Peter "Peso" Larsson wrote a nasty fast Prime Numbers function years ago and I tested it to confirm it. I'll see if I can find it in my...
--Jeff Moden
Change is inevitable... Change for the better is not.
June 15, 2023 at 12:27 am
Thank you Erland Sommarskog. I have done some testing based on different cases ,thank you!
AND? What did you find out?
--Jeff Moden
Change is inevitable... Change for the better is not.
June 14, 2023 at 5:52 pm
Viewing 15 posts - 1,366 through 1,380 (of 59,067 total)