Viewing 15 posts - 1,996 through 2,010 (of 59,067 total)
BWAAAAA-HAAAA-HAAAA-HAAAA!!! I don't recall Itzik ever using the word TALLY in any of his code. At least I'm not the only one that it's mis-quoting.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:32 am
You should have just asked it "How would Jeff Moden do it" - LOL
Ok... I took that challenge. It knows who I am and who I'm asking about and...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:27 am
It's the initials from a phrase I use a lot... "Shifting gears a bit". 😀 Hopefully, you derived what I mean when...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:16 am
I then asked "Do it using the same method Jeff Moden would use"
It returned this (I've screenshot it just in case you don't believe it):
BWAAA-HAAA-HAAA!!!! I just read what...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 3:09 am
I figured out how to get back in and it had saved my questions and answers.
Here was my first question and it's answer... note the lack of the MAXRECURSION option...
--Jeff Moden Change is inevitable... Change for the better is not.
RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
First step towards the paradigm shift of writing Set Based code:
________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
Helpful Links:
How to post code problems
How to Post Performance Problems
Create a Tally Function (fnTally)
February 7, 2023 at 2:59 am
I'm officially "dead" with ChatGPT. It never asked me for a password when I first setup my login. I logged out and told it I forgot my password when I...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 7, 2023 at 1:29 am
On second thought, I DO have a couple of interesting questions to ask it to see how it does... especially when it comes to answers that actually preform well. And,...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:38 pm
The next question should be, "How can that be optimized for performance"?
I'm actually impressed with its responses that you posted above. Impressed enough where I'm not actually going to try...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:34 pm
There is a certain amount of randomness built into its answers so if you ask it the same question at a later date it might give you a different...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:26 pm
To go along with with Grant so very correctly stated, there's the subject of this "little" thing known as a "Bad Page Split". Rows are forced to go onto the...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 10:12 pm
Can you post the actual question that you asked it? I'm curious as to how much it needed to know.
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 6:27 pm
It is nice to see so many posts that offering different solutions, as well as the performance analysis.
Regarding the real case scenario in my situation, I would expect to...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 6, 2023 at 3:09 am
That was going to be one of my other tests (and still will be to just to see what happens on different machines). Like I said, this has turned out...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2023 at 9:08 pm
So it would seem! Thanks, Jonathan. I'll check later for things like CPU, Reads, Parallelism, and what happens with different indexes.
I take it that the PK you used was keyed...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2023 at 8:37 pm
Here is something to set up about 500k rows of test data
Then some tests:
You're saving me lot's of time, Jonathan. What are the conclusions of your tests?
p.s. I ask...
--Jeff Moden
Change is inevitable... Change for the better is not.
February 5, 2023 at 7:34 pm
Viewing 15 posts - 1,996 through 2,010 (of 59,067 total)