Viewing 15 posts - 1,231 through 1,245 (of 2,038 total)
Really strange...
I copied exactly your script (just changed the names of the functions):
Adam1: 15546
Adam2: 15380
FR: 15550
System:
Microsoft SQL Server 2008 (SP1) - 10.0.2531.0 (X64)
Mar 29 2009 10:11:52
Copyright (c) 1988-2008...
April 27, 2009 at 12:50 pm
Adam Machanic (4/27/2009)
Florian Reischl (4/27/2009)
Thanks for the new version! I also supposed that a char array should perform better than the string. The current test results show the opposite though...
Did...
April 27, 2009 at 12:18 pm
Hi Adam!
Thanks for the new version! I also supposed that a char array should perform better than the string. The current test results show the opposite though...
I'm out for now...
April 27, 2009 at 10:43 am
Code (4/27/2009)
There are different amounts of data in each database, but for my testing I executed both scripts against the same database for comparison.
You executed both scripts against same database?...
April 27, 2009 at 10:16 am
Hi Adam
The String Enumerator (I just called it "String Enumerator" for better understanding what it does) performs very good! Especially for more rows. I just tried with some of my...
April 27, 2009 at 10:13 am
Hi
Did you run your single script against each of the databases? Just to verify that it always runs about 1 second on each of them. It could be possible that...
April 27, 2009 at 9:58 am
Happens... 🙂
Glad to hear that it works now!
Flo
April 27, 2009 at 9:29 am
Adam Machanic (4/27/2009)
I have posted a more scalable SQLCLR string split method here:
Thanks to Paul White for pointing me to this thread. Please consider testing all of these...
April 27, 2009 at 9:09 am
Paul White (4/27/2009)
@Phil, Flo:Probably the easiest way would be to compare your respective .sqlplan actual execution plans for the queries in question, together with the usual CPU and IO information...?
I...
April 27, 2009 at 8:53 am
Paul White (4/26/2009)
@FloRegex is pretty awesome for long strings eh?
Hey Paul
Yes, the performance of the RegEx amazed me too! The RegEx is quiet simple "\r|\r" (no backward or forward references)...
April 27, 2009 at 8:36 am
Bob Hovious (4/25/2009)
April 26, 2009 at 10:28 am
GilaMonster (4/26/2009)
Bob Hovious (4/26/2009)
April 26, 2009 at 10:15 am
Hi
What about dynamic SQL to create the PIVOT statement?
Greets
Flo
April 26, 2009 at 9:55 am
Hi Phil
I just ran exactly your script on my system. I just removed the Tally version because this is definitely the wrong decision for this requirement.
The chart is attached. Hope...
April 26, 2009 at 9:49 am
Viewing 15 posts - 1,231 through 1,245 (of 2,038 total)