Viewing 15 posts - 30,526 through 30,540 (of 59,101 total)
mohammed_suhan (3/29/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 10:09 pm
dwain.c (3/29/2012)
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 10:02 pm
jeffrey.farr (3/29/2012)
Like I mentioned, it just parses the column/variable @TA and stores the data in another table.
Please post an example of what @TA would contain. If it's large, attach...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 10:00 pm
Heh... if you're currently making $70K, then probably. If you're a good solid DBA that can mentor Developers and do some pretty serious performance tuning, then probably not. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 9:54 pm
ColdCoffee (3/29/2012)
mark hutchinson (3/29/2012)
@jeffI was thinking about something that might look like this:
FROM
(Select Distinct CustomerID, ProductCode From #Purchase WHERE ProductCode In ('A', 'B')
) p1
This...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 9:45 pm
MyDoggieJessie (3/28/2012)
The efficiency of this using the TVF is incredible. I processed a years worth of data in just under 2 minutes...WOW - THANK-YOU!!!
The ROLLUP is not...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 9:27 pm
Spam reported. And, no... $33 for a pair of jeans is no way to thank anyone.
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 9:23 pm
mister.magoo (3/29/2012)
Yep, I think that's flogged that one to death. I'm sleepy. G'night.
Heh... yeah. And if you've ever seen a picture of me, you know I can definitely use...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 8:11 pm
mister.magoo (3/29/2012)
But I think this just highlights how variable results can be depending on the actual distribution of the data....
And number of processors. Here's the 10M row 500K customer...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 8:02 pm
It's amazing what adding just a couple of hundred thousand customers will do. 🙂 Here's the 10 million row run with 500,000 customers like Magoo had instead of just...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 7:57 pm
mister.magoo (3/29/2012)
Jeff, did you tweak the CustomerID MOD value from 50000 at all for that?
No, I sure didn't. Let me try that on my box. I'll run it...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 7:42 pm
Here are the results from a 10 million row run. And, SURPRISE! We have a new winner! (Jonathan AC Roberts ). Also, keep in mind that I'm...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 7:22 pm
codebyo (3/29/2012)
Indeed. I was at work and couldn't test it properly.
I should've noticed that the IN clause may bring results from either A OR B. 🙂
That's an excellent article...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 6:59 pm
Heh... Ok... first, I have to say that I'm amazed. This particular article got twice as many reads in 1/4 the time as the "Generating test data" article did...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 6:51 pm
Toby Harman (3/29/2012)
Hate to point this out, but ColdCoffee's approach is returning inaccurate results.Specifically, it returns customers 6 and 7 from the original test data.
Not sure what happened there...
--Jeff Moden
Change is inevitable... Change for the better is not.
March 29, 2012 at 6:33 pm
Viewing 15 posts - 30,526 through 30,540 (of 59,101 total)