Viewing 15 posts - 16 through 30 (of 223 total)
Thanks for that mate. I think your query returns less rows because of this condition.
AND (
SELECT...
January 6, 2017 at 5:32 pm
Thanks for doing all of that 🙂
Let me explain. The server has 4 processors. MAX DOP is set at zero, meaning optimizer will use as many number of processors to...
January 6, 2017 at 5:04 pm
Most expensive operation in my query is for sorting, which we cannot avoid I think. Can you please do the following and check if there is any improvement?
1. Firstly, do...
January 6, 2017 at 4:36 pm
SET STATISTICS TIME ON
Ok. Can you try doing this ^ before running the query and check the Messages tab for details?
Or run the following query, add text from the query,...
January 6, 2017 at 4:18 pm
No notifications on edit mate. What's the difference between execution time and total time?
January 6, 2017 at 4:03 pm
Douglas, can you also post the execution times please? I think I know why my query is returning more rows.
January 6, 2017 at 2:01 pm
Does this do it for you? You don't have to join with Customer table unless you are missing a FK, which is not a good practice anyway.
;WITH cte AS
(
select...
January 5, 2017 at 8:54 pm
How does this one fare? It should generate a different plan from the one I have posted. Those scans are going to be expensive, considering you have a year's data....
January 5, 2017 at 7:37 pm
Were you able to find a resolution for this issue?
We have multiple production servers, all on SQL Server 2014 latest SP and running ACE OLEDB 12.0
Only on one of the...
May 31, 2016 at 3:25 am
@eric: Thanks. That's a good story that, had never heard of it. With some new resources in, I have more time at hand and I've been putting it...
May 26, 2016 at 8:56 pm
Thanks for asking Abrar. Let me start by apologizing for not answering any sooner.
The last couple of months were tumultuous. My teammates quit and I'm the only dev left in...
May 11, 2016 at 8:52 pm
Thanks Grant. These are invaluable pointers. I like writing and I look forward to contributing to the community. I'm hoping I will stay focused and pick a few good habits....
February 22, 2016 at 4:30 am
Thanks Hugo. I've seen the posts before, but never gave it much thought. It looks very interesting.
7sinz: Thanks for your perspective. I agree that it is silly to go all...
February 21, 2016 at 3:47 am
Thanks Phil, that's a good point. I will pitch that.
Eric, I think I might just give MCSE a go. What put me off in the past was a few candidates...
February 19, 2016 at 7:46 am
Thanks for your valuable inputs. I think I can join the local user group, that's a really good suggestion. I have a vision for where i want to be 5...
February 19, 2016 at 7:05 am
Viewing 15 posts - 16 through 30 (of 223 total)