Viewing 15 posts - 1,846 through 1,860 (of 2,458 total)
Jeff Moden (10/30/2014)
We also need to try the same thing on Alan's good pattern matching code.
Sorry for not checking back sooner - I spent the weekend dealing with some <sarcasm>very...
November 3, 2014 at 2:32 pm
So I made the following change to Eirikur's function to so that it takes a pattern as a parameter:
-- refactoring...
CREATE FUNCTION dbo.STRIP_NUM_EE_PAT
(
@INSTR VARCHAR(8000),
...
October 29, 2014 at 9:18 am
Jeff Moden (10/28/2014)
October 28, 2014 at 9:29 pm
Eirikur Eiriksson (10/28/2014)
😎
/********************************************************************
-- Stripping out any non-numerical characters
-- EE 2014-10-28 Inital coding
-- EE ...
October 28, 2014 at 8:59 pm
Jeff Moden (10/27/2014)
October 27, 2014 at 10:18 pm
mickyT (6/25/2014)
Interestingly enough I tried a similar test on 2012 for the originals and got elapsed times that so close as to be the same. It may have been...
October 27, 2014 at 3:07 pm
Alan.B (10/10/2014)
SELECT column1, sum (column2)
FROM <yourtable>
WHERE column1=1
GROUP BY column1
How embarrassing, I did not realize, at the time I posted this, that this was an SSRS forum (smacking forehead).
October 10, 2014 at 7:41 pm
SELECT column1, sum (column2)
FROM <yourtable>
WHERE column1=1
GROUP BY column1
October 10, 2014 at 4:52 pm
Jason beat me toops it...Estimated rows are 1, actual are 860... sounds like a possible stats issue.
Could also be parameter sniffing. Have you tried running your query with...
October 10, 2014 at 3:01 pm
Eirikur Eiriksson (10/9/2014)
Nice job Alan!😎
Thanks!
October 9, 2014 at 2:10 pm
1. Phil's article is excellent; I never read it until today after I saw that Erikur posted it.
2. Second, can you post and example of the HTML files that...
October 9, 2014 at 1:48 pm
I think you were pretty close... You could do this:
WITH removebadstuff(old,new) AS
(
SELECT LastName, replace(replace(replace(replace(replace(lastname,'#',''),'^',''),'/',''),'\',''),' -','')
FROM #tmp_lastnames
)
SELECTold, -- old here for display only, not needed
new =
case patindex('%[a-z][^a-z]',new)
when 0 then new...
October 9, 2014 at 10:00 am
Plucky (10/7/2014)
Occasionally (once every 3 months or so) CHECKDB fails on our busiest database on our VMware management SQL Server instance (this is a VM itself 10.0.5775). No other VMs...
October 9, 2014 at 8:44 am
samirabrahao1 60347 (10/7/2014)
I hope you are still following up on this. Great article indeed.
I took the liberty to make a minor...
October 7, 2014 at 3:49 pm
GilaMonster (10/7/2014)
Alan.B (10/6/2014)
So it is whatever the default is - is what it is set at. I will tell you exactly tomorrow.
Which means it'll be cost threshold of 5 and...
October 7, 2014 at 12:38 pm
Viewing 15 posts - 1,846 through 1,860 (of 2,458 total)