Viewing 15 posts - 406 through 420 (of 650 total)
http://www.sqlservercentral.com/Forums/FindPost696606.aspx
Best wishes,
Phil Factor
April 21, 2009 at 9:17 am
My Set-based 'quirky update' solution is half way down the page on page 6 of this thread. http://www.sqlservercentral.com/Forums/Topic695508-338-6.aspx
Which is the current front-runner for the CLR solution? I'm using DanielJ's
The reason...
Best wishes,
Phil Factor
April 21, 2009 at 6:49 am
As far as I can tell, the difference in the results that we are getting is due to the way different servers behave with different resources and configurations. I do...
Best wishes,
Phil Factor
April 21, 2009 at 4:11 am
Am I right in seeing that your copy of Moby Dick only has one line? My copy is twice the length too.
Best wishes,
Phil Factor
April 20, 2009 at 12:31 pm
I modified the WHILE loop function to make it quicker, and to give the same table of results as the Quirky Update function, which I haven't changed. The WHILE loop...
Best wishes,
Phil Factor
April 20, 2009 at 11:26 am
I'm sorry, folks, but these CLR string-splitting techniques don't scale up. It would be very dangerous to recommend CLR routines based on these tests because the test data was very...
Best wishes,
Phil Factor
April 20, 2009 at 9:28 am
The URL I gave you [p]Net Reflector: Soup to Nuts[/url] has a section that tells you how to install it. [/p]
[p]I'll pass on, to the developers, your request to have...
Best wishes,
Phil Factor
April 19, 2009 at 1:33 pm
[p]useful links[/p]
Net Reflector download page[/url]
Net Reflector soup-to-nuts[/url]
SQL 2005/8 Browser add-in for NET Reflector
[p].... and NET Reflector is the dream tool for SMO programming as...
Best wishes,
Phil Factor
April 19, 2009 at 2:22 am
Paul, Jeff,
I hate to disagree, but distributing a CLR this way is safe as long as you can read any current .NET language to check what is going on. All...
Best wishes,
Phil Factor
April 18, 2009 at 1:04 pm
Derek, not me, Florian. 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 functions.
I decided I'd...
Best wishes,
Phil Factor
April 17, 2009 at 7:17 am
Of course, splitting a string is a variant of RegEx, which seems to be the main reason for using a CLR solution for something which could, in theory, be done...
Best wishes,
Phil Factor
April 17, 2009 at 4:52 am
[font="Courier New"]--================================================
-- Multi-statement Table-valued Function that splits an NVARCHAR(MAX)
-- into rows depending on a delimiter
--================================================
IF OBJECT_ID (N'splitStringToTable') IS NOT NULL
DROP FUNCTION splitStringToTable
GO
CREATE FUNCTION splitStringToTable(@String NVARCHAR(MAX), @Delimiter VARCHAR(255))
RETURNS @strings TABLE...
Best wishes,
Phil Factor
April 14, 2009 at 8:42 am
We really haven't got to the bottom of what was causing the original problem.
As I'm a bit stupid, and read it too quickly, I hadn't realized that the original...
Best wishes,
Phil Factor
April 14, 2009 at 7:42 am
This reminds me a bit of the blog I did called 'Never say never to the 'While' loop.
A Charindex and WHILE loop will always outperform a 'helper table'...
Best wishes,
Phil Factor
April 13, 2009 at 10:46 am
IceDread, Yes, you're doing things pretty safely there. If you are calling a series of Stored procedures within a transaction, which you can then roll back if necessary, then the...
Best wishes,
Phil Factor
March 29, 2009 at 5:47 am
Viewing 15 posts - 406 through 420 (of 650 total)