Viewing 15 posts - 1 through 15 (of 23 total)
OK, thanks to everyone for responding. I thought there would be no organic way to remove it from the output once it had been selected, and you guys would...
May 15, 2012 at 12:14 pm
Thank you, but no.
While the output of your proc is correct, I am literally interested in either a process that matches my topic title or a definitive statement...
May 15, 2012 at 3:03 am
CirquedeSQLeil (2/24/2010)
WayneS (2/24/2010)
February 24, 2010 at 10:26 pm
WayneS (2/24/2010)
February 24, 2010 at 9:57 pm
OK, I have run all four of the ones that are scalable/credible contenders and I have, for 150 000 000 rows using the COUNT (ALL xxxx) method described earlier. ...
February 24, 2010 at 6:03 pm
This will be the new testing standard, since I own that right now and no one is fighting me for it. You do a COUNT(ALL [put your mod conversion...
February 24, 2010 at 4:25 pm
OK, I converted Tom's code so that the conversion is done where the select statement is done outside of the CTE and the time for 1 000 000 is the...
February 24, 2010 at 2:56 pm
OK, Tom. The thing with your TSQL seems to be that while you are indeed generating the numbers, you are not specifically doing so in a way that the...
February 24, 2010 at 2:24 pm
Interesting Tom. I will study this. On my machine it comes up @ 0:07 (seven seconds!)compared to Lynn's 1:03 (1 minute) w/out a temp table and 2:47...
February 24, 2010 at 2:17 pm
The N being written to the table allows you to retreive the data in the proper order by including the necessary ORDER BY clause on the query. With out that,...
February 24, 2010 at 12:12 pm
Lynn Pettis (2/24/2010)
reidres (2/23/2010)
Are my modifications fair?
My problem with comparing the two solutions above is you are actually comparing apples to oranges. Jason's routine is returning the results directly...
February 24, 2010 at 11:29 am
CirquedeSQLeil (2/23/2010)
I think there are a few things to note.
With the size of the recordset, memory becomes an issue. Another is tempdb and disk space become an issue. ...
February 24, 2010 at 12:29 am
OK, I ran Jason's (CirquedeSQLeil) updated code (modified by me as before) and got 0:54, which puts it as the fastest time of the scalable three that I reviewed. ...
February 23, 2010 at 11:24 pm
Review of Kev Riley's v2 solution:
for 150 000 000 the time is 1:38
The modified Riley code used for this test:
declare @maxnum int
set @maxnum = 150000000
set statistics io on
set statistics time...
February 23, 2010 at 1:44 pm
Review on the performance based answers contest:
Lynn Pettis' solution is very scalable, though not as fast as CirqueDeSQLeil's solution which appears for some reason to be not as scalable. ...
February 23, 2010 at 1:31 pm
Viewing 15 posts - 1 through 15 (of 23 total)