Viewing 15 posts - 1,981 through 1,995 (of 59,064 total)
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...
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...
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,...
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...
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...
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...
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.
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...
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...
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...
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...
February 5, 2023 at 7:34 pm
@ jay-125866 ,
This thread has really gotten interesting with some great alternatives to the classic CROSSTAB method.
Can you provide some additional info about your real table?
February 5, 2023 at 6:05 pm
Or maybe even using LEAD:
Yep. I suggested that above as a possible alternative. Thanks for taking the time to write the code for it.
February 5, 2023 at 5:58 pm
thank you All for valuable directions. I will try to follow correct path as suggested.
one more question about locking, OFFLINE rebuild lock table for upcoming transactions. What about current...
February 5, 2023 at 5:44 pm
Yes, nice solution Jeff.
Here is an alternative solution:
That might be the way to go instead of using the CROSSTAB method on this one, Jonathan.
February 5, 2023 at 5:40 pm
Viewing 15 posts - 1,981 through 1,995 (of 59,064 total)