Viewing 15 posts - 5,836 through 5,850 (of 18,926 total)
Besides asking for rewrite or maybe more hardware (if under realllllllllllllllll y high memory pressure) I don't see what you can do.
May 23, 2011 at 9:50 am
Sean Lange (5/23/2011)
Ninja's_RGR'us (5/23/2011)
Why the heck was I thinking about pivot for this ?!?! Officially taking the rest of the day off 😎
Take me with you I could use...
May 23, 2011 at 9:34 am
ehdium-drivers (5/23/2011)
(57% of batch requests result in compilation)
I would like if the server reused more my...
May 23, 2011 at 9:26 am
Why the heck was I thinking about pivot for this ?!?! Officially taking the rest of the day off 😎
May 23, 2011 at 9:24 am
Whenever I feel like adding and hint I ask myself something similar to this :
Am I really smarter than the best MS engineers who had years and trillions of...
May 23, 2011 at 9:20 am
Check the plan for the query with the where condition. I bet you have an index seek with bookmark lookup which is actually more expansive than a full scan.
I'd...
May 23, 2011 at 9:18 am
SELECT MAX(CASE WHEN Result = 'Fair' THEN 1 ELSE 0 END) AS Fair,
MAX(CASE WHEN Result = 'Good' THEN 1 ELSE 0 END) AS Good,
MAX(CASE WHEN Result = 'Excellent' THEN 1...
May 23, 2011 at 9:12 am
Matt-1034261 (5/23/2011)
Just to follow up on this, I rebuilt the indexes and everything ran tickety boo again 🙂
Thanks for the feedback. Might help someone else someday.
May 23, 2011 at 8:42 am
ofirk (5/23/2011)
Perhaps you can override the designers intentions, and provide a total payments column, calculated with triggers.I'd expect a performance improvement if you drop the SUM calculation.
Not sure I'd go...
May 23, 2011 at 8:41 am
Maybe you should post as QOTD... nice piece of trivia!
May 23, 2011 at 8:24 am
There seems to be a lot missing from this logic and even a few requirements. No offense but are you sure this is not some sort of homework?
The degree...
May 23, 2011 at 8:14 am
Indianrock (5/23/2011)
Thanks Grant. Time to read your book on execution plans. It's sounding like no magic bullet here.
there's no magic bullet for any global tuning process... always takes a...
May 23, 2011 at 7:04 am
Where are yo not clear going about this? This is really straight forward especially with the clear steps.
What have you tried, where are your road blocks?
May 23, 2011 at 6:37 am
maryamzolfaghar (5/22/2011)
May 23, 2011 at 6:35 am
It's not supposed to work like that. It's supposed to be the very next statement after the select >> set @rc = @@ROWCOUNT.
My guess is that in your query...
May 23, 2011 at 6:13 am
Viewing 15 posts - 5,836 through 5,850 (of 18,926 total)