Viewing 15 posts - 6,016 through 6,030 (of 59,101 total)
Look at the last script from my post.
It allows to the function against all the dates you can possibly get.
in between the brackets at CROSS APPLY (...) T2 you...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 1:44 pm
How much memory is actually in this particular system? I ask because, while I agree that Express is pretty limited, it seems to me that it should be able to...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 1:43 pm
Totally agreed on that, Sergiy. It turned out that I had problems with my fnTally function going nuts but it wasn't the fault of the function. 2017 RTM sucked eggs...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 5:22 am
You folks should hum a rock at the webmaster for this site to do two things...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 5:16 am
@Jeffrey Williams,
I tested your performance improvements for Peter's code and they're an order of magnitude faster. Nicely done. I've also not been able to find a fault in the output...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 5:13 am
Lynn Pettis wrote one back in 2009, as well.
https://www.sqlservercentral.com/articles/the-dynamic-tally-or-numbers-table
If I get the chance, I'll add his to the mix, as well.
Anyway, thanks again for the article and the code,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 4:54 am
Thanks for the very kind feedback, Jason.
Interesting code, Jason. While I've seen such a thing before, I've not seen many folks that provide a starting value and number...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 4:46 am
Wow... it's amazing how fast machines have gotten. I just tested Sergiy's, Chris', and my fnTally function for simply generating 10 million rows to a bitbucket variable. (No JOIN, though,...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 3:43 am
Just a little warning - you should not use a string literal in the function as that will be implicitly converted and could cause cardinality issues. Instead...
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 2:55 am
Post withdrawn... I need to stop testing at night.
--Jeff Moden
Change is inevitable... Change for the better is not.
December 1, 2020 at 2:44 am
Just a little warning - you should not use a string literal in the function as that will be implicitly converted and could cause cardinality issues. Instead - you...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2020 at 10:44 pm
I'll also add that a lot of the "patches" by MS actually take years to fix, if they even bother to fix them at all.
For example, there's been a whole...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2020 at 5:58 pm
And consider how quickly broken systems get patched.
A far cry from patches that were delayed months, sometimes closing in on double digit months, in the 90s and early 2000s.
True...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2020 at 5:55 pm
There is another calendar format is used in the Scandinavian countries and has an ISO standard. It looks like "yyyyW[0-9][0-9]-[1-7]" the W is a number between 01 and 52...
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2020 at 5:53 pm
the way I see it. If you deploy every day or even once a week, you eventually either learn how to do it safely or go out of business.
Heh......
--Jeff Moden
Change is inevitable... Change for the better is not.
November 30, 2020 at 5:31 pm
Viewing 15 posts - 6,016 through 6,030 (of 59,101 total)