Viewing 15 posts - 5,971 through 5,985 (of 59,070 total)
You folks should hum a rock at the webmaster for this site to do two things...
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...
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,...
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...
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,...
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...
December 1, 2020 at 2:55 am
Post withdrawn... I need to stop testing at night.
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...
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...
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...
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...
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......
November 30, 2020 at 5:31 pm
Ok... One more time. This time, actually verified.
Here's the formula for use with GETDATE(). You can change the two "GETDATE()"s to a column in a table, as well.
November 30, 2020 at 4:35 pm
Steve, if you're going to use the fnTally function, you need to tell people where to get it. Since I use it so often, I just put...
November 30, 2020 at 4:30 pm
I had to take down the previous post because I found a bug in the formula. Looking for how to fix it.
November 30, 2020 at 3:58 pm
Viewing 15 posts - 5,971 through 5,985 (of 59,070 total)