Viewing 15 posts - 2,611 through 2,625 (of 8,416 total)
Attached (zipped) actual execution plan when running Brad's code:
declare @CSVList varchar(8000)
select @CSVList=coalesce(@CSVList+',','')+csvparameter
from (select top 10 csvparameter from csvtest) x
declare @ProductID int, @ProductName varchar(50), @SalesOrderID int, @OrderDate datetime, @TerritoryName varchar(50);
select @ProductID=d.ProductID...
September 20, 2010 at 4:54 am
Jeff Moden (9/19/2010)
September 20, 2010 at 4:17 am
Jeff Moden (9/19/2010)
September 19, 2010 at 9:53 am
Version 2 results...:satisfied:
September 19, 2010 at 9:45 am
Jeff Moden (9/19/2010)
September 19, 2010 at 9:39 am
Jeff Moden (9/19/2010)
September 19, 2010 at 9:04 am
steve-893342 (9/19/2010)
Yes, but if you compare the two to shift data either with a SELECT INTO or INSERT query you won't see that sort of difference
I think I see what...
September 19, 2010 at 8:51 am
Mark-101232 (9/19/2010)
Tally:
Table 'Tally'. Scan count 10000, logical reads 30000, physical reads 0
Table 'CsvTest'. Scan count 1, logical reads 774, physical reads 0
CPU time...
September 19, 2010 at 8:36 am
For anyone wanting to see how a SQLCLR implementation compares to the other tested methods on this dataset, here's my slightly-tweaked version of Adam Machanic's string splitter: (source code attached)
CREATE...
September 19, 2010 at 5:51 am
Ok, these are the results for the unmodified script. Total execution time 19 min 11 sec.
Paul
September 19, 2010 at 5:19 am
My results attached. Total run time 5 min 04 sec.
(Pentium 4m Processor @2GHz - SQL Server 2008 x86 Dev)
Sorry I've done this slightly backwards: this run includes one of...
September 19, 2010 at 4:53 am
Darn time zones. Jeff, the script has a comment in it to say that Profiler should be running:
--=====================================================================================================================
-- Run the functions (Profiler turned on...
September 19, 2010 at 1:07 am
Peter Brinkhaus (9/18/2010)
Paul White NZ (9/18/2010)
Hmm. How'd I miss this thread? :w00t:Because of being busy writing those great optimizer articles?
:blush:
September 19, 2010 at 12:31 am
Jeff Moden (9/18/2010)
Paul White NZ (9/18/2010)
Yeah, I explained that to Jeff on a very interesting thread back in May: http://www.sqlservercentral.com/Forums/FindPost917491.aspx
Actually, the triangular join thread that leads to is even more...
September 18, 2010 at 10:04 pm
Viewing 15 posts - 2,611 through 2,625 (of 8,416 total)