Viewing 15 posts - 22,681 through 22,695 (of 59,067 total)
corey lawson (9/26/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2014 at 3:29 pm
WayneS (5/28/2014)
autoexcrement (5/28/2014)
It's easy enough...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2014 at 3:16 pm
Seggerman-675349 (3/14/2014)
see http://www.sqlservercentral.com/Forums/Topic1550386-392-1.aspx
I took a stored procedure, modified (but not enough) which had used cursors in Oracle that ran for 88 minutes 2...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2014 at 3:08 pm
Here's the testing I did on this...
First, create the two original functions with no modifications, Bob's CleanString_bh and my CleanString.
CREATE FUNCTION dbo.CleanString_bh
...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 27, 2014 at 1:22 pm
dwain.c (3/4/2014)
The Dixie Flatline (3/4/2014)
CREATE FUNCTION dbo.CleanString_bh
(@pString VARCHAR(8000),@pPattern VARCHAR(100))
RETURNS TABLE
AS
RETURN
(
with tally as (select top(len(@pstring)) N...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2014 at 10:22 pm
Steve Jones - SSC Editor (9/25/2014)
edwardwill (9/25/2014)
SELECT TOP 10
RAND( ROW_NUMBER() OVER (ORDER BY id))
FROM sys.syscolumns
is functionally identical, as...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2014 at 5:06 pm
Jerry Inman (9/26/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2014 at 3:19 pm
stefan.mulder (9/24/2014)
but as to Jeff's notes on collation: we do need a function that can handle compound delimiters, e.g. [|;] or [","] as in David Data's case of...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 26, 2014 at 12:18 am
fregatepllada (9/24/2014)
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2014 at 11:37 am
You're a man after my own heart, Nadrek. I had a fairly major project that I solved using copies of SQL Express setup as "bricks" to do nothing but...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 25, 2014 at 8:51 am
Frank Cazabon (9/24/2014)
Thanks,I'll probably end up doing this in my application rather than in the database.
That's where most people end up and that's not a bad idea at all. ...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2014 at 9:01 am
DBA From The Cold (9/24/2014)
I've seen the program use up to...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2014 at 8:54 am
Grant Fritchey (9/24/2014)
Jeff Moden (9/24/2014)
Chowdary's (9/24/2014)
I installed Red Gate Soft and using but its very costly tools ,as we are in small infrastructure my management will...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2014 at 8:51 am
There is actually an optimization that can be done to this code. It's called "pre-aggregation" (a term that I go from SQL Server MVP Peter Larsson). If you...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2014 at 8:13 am
Chowdary's (9/24/2014)
I installed Red Gate Soft and using but its very costly tools ,as we are in small infrastructure my management will not go for that.So...
--Jeff Moden
Change is inevitable... Change for the better is not.
September 24, 2014 at 7:24 am
Viewing 15 posts - 22,681 through 22,695 (of 59,067 total)