Viewing 15 posts - 6,346 through 6,360 (of 59,070 total)
That's not how long the SQL code takes to execute. Tally based method would crush the OP's kludge especially as their test case is spanning thousands of days.
19 minutes...
September 24, 2020 at 3:54 am
However, it appears the OP didn't go for it and just only wants his kludge to be made to work.
Considering the way the OP asked the question, I'm not...
September 24, 2020 at 3:52 am
Hi
This probably a silly question but.....
If I query the size of a table and it shows 20 gigs in size, when I do a select * from that table...
September 24, 2020 at 2:31 am
The reason why I wanted you to post your test harness is because you claimed that the Tally solution took 19 MINUTES to the rCTE's 12 MINUTES on that post. ...
September 23, 2020 at 10:58 pm
Here's another one. It took 19 minutes vs 12 minutes for the rCTE. There's no sample data and no time for making any up. Hopefully the query...
September 23, 2020 at 10:19 pm
I showed you can be put in a CTE, a view or used as a standalone query as needed.
Nope... you may have mentioned it but you've not "shown" anyone...
September 23, 2020 at 10:18 pm
Here's another one. It took 19 minutes vs 12 minutes for the rCTE. There's no sample data and no time for making any up. Hopefully the query is sound. ...
September 23, 2020 at 9:37 pm
Any time I've needed to populate a table of sequential numbers, I just done it by brute force. No recursion or fancy stuff. Remember the definition of place...
September 22, 2020 at 11:29 pm
You definitely do work with all departments in the company, which is an aspect of the job that I like.
Heh... when I first heard of "DevOps", my thought was...
September 22, 2020 at 5:15 pm
Your efforts are much appreciated but the COUNT(*) stuff is going to confuse the very newbies that you're trying to not confuse (by using fnNumbers as the name).
I've also found...
September 22, 2020 at 4:55 pm
Hi @Grant Fritchey thanks for your reply, we are moving towards backup and restore on AWS RDS but in the meantime I need to use this procedure, can you...
September 22, 2020 at 4:45 pm
I want to number weeks from April to September for every year, such that week 1 starts 1st of April and ends the following Saturday and week 2 starts...
September 22, 2020 at 3:55 am
Hi Andrew-
Thanks for turning me on to Jeff Modon. Loved his article and sense of humor.
I corrected the length of the @status parameter to 250.
I put the following after...
September 22, 2020 at 1:13 am
True enough. Thanks for the feedback.
September 22, 2020 at 12:55 am
Maybe my confusion on this subject is that maybe I've guessed wrong about what you mean by "Minimal" so let's look back at your original question...
What is the minimal...
September 22, 2020 at 12:11 am
Viewing 15 posts - 6,346 through 6,360 (of 59,070 total)