Viewing 15 posts - 3,001 through 3,015 (of 10,144 total)
Louis Hillebrand (8/25/2014)
Chris,Here is the execution plan..
The OUTER APPLY does 100k seeks on the Follow-Up table.
Louis.
The cost is as likely to be the residual predicate on the quotation table. Try...
August 26, 2014 at 7:15 am
winston Smith (8/26/2014)
i have changed to british english in the server settings, and my user also has british english set but...
August 26, 2014 at 6:46 am
Grant Fritchey (8/26/2014)
August 26, 2014 at 6:04 am
pwalter83 (8/25/2014)
ChrisM@Work (8/20/2014)
Paul, if you wouldn't mind running through your sample script and correcting the errors which Steve kindly pointed out, I'll take a look later today.
Hi Chris,
The sample script...
August 26, 2014 at 4:27 am
tony28 (8/25/2014)
I added second sql plan with query with condition before update statistics..is this so big different between before and after ?
here looks almost ok
Query 2 works very differently...
August 26, 2014 at 2:21 am
tony28 (8/25/2014)
I added second sql plan with query with condition before update statistics..is this so big different between before and after ?
here looks almost ok
Don't you mean AFTER you...
August 26, 2014 at 2:03 am
Cathy DePaolo (8/22/2014)
August 22, 2014 at 9:50 am
Eirikur Eiriksson (8/22/2014)
gbritton1 (8/22/2014)
I don't think that's a Cartesian product. If it were, you would have 89 (8*10) rows of ouput.A CROSS JOIN would give you a Cartesian Product
A...
August 22, 2014 at 9:38 am
Snargables (8/22/2014)
August 22, 2014 at 9:35 am
Jack Corbett (8/22/2014)
August 22, 2014 at 9:28 am
SELECT UserName, Drink, Value, CreatedDate
FROM ( -- d
SELECT UserName, Drink, Value, CreatedDate,
rn = ROW_NUMBER() OVER(PARTITION BY grp ORDER BY CreatedDate DESC)
FROM #TEMP t
OUTER APPLY ( -- ou
SELECT TOP...
August 22, 2014 at 7:46 am
It would be interesting to see the Actual execution plans for them...
August 22, 2014 at 7:07 am
Brandie Tarvin (8/22/2014)
ChrisM@Work (8/22/2014)
Brandie Tarvin (8/22/2014)
Chris,Why the STUFF() and the XML?
It's concatenation of values from different rows of the same column, Brandie.
Split up the email addresses onto different rows,...
August 22, 2014 at 6:58 am
Brandie Tarvin (8/22/2014)
Chris,Why the STUFF() and the XML?
It's concatenation of values from different rows of the same column, Brandie.
Split up the email addresses onto different rows, eliminate any matches,...
August 22, 2014 at 6:18 am
WITH DedupedData AS (
SELECT nr, [Address],
Alias = CASE
WHEN (x1.Address_Name = x3.Alias_Name AND x1.Address_Domain IN (Alias_Domain1,Alias_Domain2)) THEN NULL
ELSE Item END
FROM @info-2
CROSS APPLY (
SELECT
Address_Name = MAX(CASE WHEN...
August 22, 2014 at 6:07 am
Viewing 15 posts - 3,001 through 3,015 (of 10,144 total)