Viewing 15 posts - 1,216 through 1,230 (of 2,038 total)
Paul White (4/28/2009)
This is probably feeping creaturism, but it would be great if it could handle...
April 28, 2009 at 1:28 pm
Adam Machanic (4/28/2009)
April 28, 2009 at 1:25 pm
Hey Paul
Completely correct. The huge advantage of the enumerator approaches should be a better scalability. Since now I only tested the single request handling to get some indicators. Workloads are...
April 28, 2009 at 4:42 am
Jeff Moden (4/27/2009)
Florian Reischl (4/27/2009)
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...
April 28, 2009 at 3:33 am
Paul White (4/27/2009)
Never be afraid of posting theoretical or odd examples of stuff without a production requirement!
And yes there is always someone that knows more about a...
April 27, 2009 at 5:06 pm
Hi Lynn
Thanks for your feedback. It counts a lot for me!
Greets
Flo
April 27, 2009 at 5:01 pm
Great explanation, Bruce!
April 27, 2009 at 4:35 pm
Paul White (4/27/2009)
@Flo - Impressed that you are not asleep!
I am impressed that you are already awake :laugh:
What was the requirement for MAX originally, even if it no longer applies?...
April 27, 2009 at 4:21 pm
Let me clarify something...
The requirement that the functions need to return those items as NVARCHAR(MAX) is not actual any more. I have noticed that it is not possible to create...
April 27, 2009 at 3:42 pm
Phil Factor (4/27/2009)
CREATE FUNCTION ....
bit.
..and I bet most people who are trying to...
April 27, 2009 at 2:25 pm
Jack Corbett (4/27/2009)
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...
April 27, 2009 at 2:24 pm
Bug in row 98... Thanks!
Either replace:
_nextPos = i + _delimiterLength;
With:
_nextPos = i; // +_delimiterLength;
Or just copy paste the complete new:
using System;
using System.Collections;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using Microsoft.SqlServer.Server;
public partial class UserDefinedFunctions
{
...
April 27, 2009 at 1:46 pm
Hi Adam
Adam Machanic (4/27/2009)
Florian Reischl (4/27/2009)
I really like the _syntax to distinguish between local and module variables. Would you prefer m_anything?
Personally I like Pascal case for externally-facing variables and...
April 27, 2009 at 1:22 pm
Adam Machanic (4/27/2009)
15 seconds? Time for a new computer!
I think Core2 Quad 2,4 is not so bad 😉
All three methods use nvarchar(max). Copy paste error. Sorry again!
Changed all to...
April 27, 2009 at 12:57 pm
Adam Machanic (4/27/2009)
Adam Machanic (4/27/2009)
Hmm, something you've changed is making your version an order of magnitude slower on my test system than either of my versions.
OK, found it....
April 27, 2009 at 12:54 pm
Viewing 15 posts - 1,216 through 1,230 (of 2,038 total)