October 4, 2008 at 6:03 am
Comments posted to this topic are about the item The Weekly News for Oct 6, 2008 (Database Weekly)
October 5, 2008 at 8:35 am
Heh... what a teaser you are. You just know that I'm going to challenge Phil's findings, don't ya? 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2008 at 8:32 am
Of course! Likely you'll find a faster way, but hey, that's why we love (and quote) you!
October 6, 2008 at 9:10 pm
Thought I'd give a little feedback here... Phil reran his tests on his machine several times... same result... the While loop on a super string beat the tar out of the Tally table... Let me emphasize... ON HIS MACHINE! I've tried it on several machines, now, and I find just the reverse to be true. The Tally table beats the RBAR While Loop quite handily.
What I think everyone should get out of this is what I have said frequently in the past... Phil reemphasized the same thing... TRUST NO ONE WHEN IT COMES TO CODE... always do a test. Heh... even code that follows the ANSI Standards to a "T" could be affected according to the amount of memory available or if parallelism occurs, etc, etc. It's terrible to think that something like SQL Server 2000 or 2005 would actually be installation dependent, but, like anything else, in fact, is.
--Jeff Moden
Change is inevitable... Change for the better is not.
October 6, 2008 at 9:12 pm
Oh... I almost forgot... I ran Phil's tests without modifying his code. I was so engaged in why he was getting his "reverse" findings, that I actually forgot to try to improve on the code. It's not a simple split... it treats certain position-dependent characters as white space. I guess my next task will be to try to figure out a faster way... 😛
--Jeff Moden
Change is inevitable... Change for the better is not.
October 7, 2008 at 12:12 pm
And write an article! :hehe:
October 7, 2008 at 8:01 pm
:P;)
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply