Viewing 15 posts - 1,336 through 1,350 (of 2,038 total)
Some explanation for the CLR functions.[/b]
It seems that SQL Server doe many optimizations for SUBSTRING functions like “SUBSTRING(s.definition, N, 2) = @crlf”. I don’t think that it really copies every...
April 18, 2009 at 6:21 am
Hi!
So finally I’m done with all my tests. This post will contain the main information about the tests. I will separate the results into more than one post to hopefully...
April 18, 2009 at 6:18 am
RBarryYoung (4/17/2009)
I am real eager to see this DanielJ solution too.
Stay patient, please. 😉
I just want to post it together with the other functions. I also did some performance improvements...
April 17, 2009 at 4:20 pm
Hi Barry
RBarryYoung (4/17/2009)
Florian:Could you get us the Average Line lengths for these tests? Or possibly the total source rows (from which I could calculate the line lengths)?
The source totals...
April 17, 2009 at 4:16 pm
Hi Jeff!
Some intermediate results of my current tests. Some new CLR functions joined the competition ;-).
SourceType Description ...
April 17, 2009 at 2:09 pm
Old? We? I?
Let me quote a wise man:
BWAA-HAA!
April 17, 2009 at 10:35 am
Hi Paul
Paul White (4/17/2009)
Resource problems? Well maybe, but we could always process the XML in appropriate 'chunks'...as I'm sure you are already spookily aware. 😉
Chunks? Your suggestion was...
April 17, 2009 at 10:29 am
Derek Dongray (4/17/2009)
@lines = split('\ n',$string)
Since I usually need to do more complex matches I...
April 17, 2009 at 8:20 am
Derek Dongray (4/17/2009)
Phil Factor (4/17/2009)
April 17, 2009 at 8:14 am
Paul White (4/17/2009)
I'm surprised no-one has suggested sending the entire text to split to a CLR function in an XML parameter, generated from a SELECT with some kind of...
April 17, 2009 at 8:13 am
Hi Phil
Phil Factor (4/17/2009)
Derek, not me, Florian.
Oops... Sorry!
All I'm doing is showing you guys how to test the idea! Let's get some detail on the relative performance of all these...
April 17, 2009 at 7:24 am
Hi Phil
I'm with Paul. RegEx is a powerful tool for complex searches, replacements and validations in text. For a simple text a standard string.Split or a char loop (outstanding test...
April 17, 2009 at 6:38 am
Hi
It depends... If you have queries like "Description='MyDescription'" your index will work fine. If you usually have queries like "Description LIKE '%PartOfDesc%'" you should consider to use a full-text index.
Greets
Flo
April 17, 2009 at 6:26 am
Hi
You need to specify the remote login information by sp_addlinkedsrvlogin:
DECLARE @LinkName SYSNAME SET @LinkName = 'LINK_NAME'
DECLARE @SrvName ...
April 17, 2009 at 6:22 am
Hi
In SQL2k5 it is possible by a detour over a non-unique index and a CHECK constraint:
CREATE TABLE TestCheck
(
Id INT NOT NULL IDENTITY,
UniqueText VARCHAR(30) NULL
)
GO
CREATE...
April 17, 2009 at 6:20 am
Viewing 15 posts - 1,336 through 1,350 (of 2,038 total)