Viewing 15 posts - 91 through 105 (of 128 total)
I have attached the execution plans as required.
Waiting for your comments...
July 1, 2013 at 5:04 am
Yes, I used Andy's suggestion and it was working fine. After that, Optimizer was suggesting some index. Instead of creating index, I put all the query inside another query.
...
July 1, 2013 at 3:56 am
I tried one more thing in above suggestions, as pasted below.
It is not asking for missing indexes and performing much better.
...
June 30, 2013 at 11:50 pm
I want to do this because when I check performance of a query and I need to run it again and again, I can't clean everything, because I'm not the...
June 18, 2013 at 10:37 pm
Still not helping.
We are using a filter "where comp.comp_type = 1" in the query.
If I change the filter comp.comp_type = 2 then it is taking only 15 seconds.
We...
June 17, 2013 at 4:36 am
Provided test data is from my local, so it will not give any issue. Getting data from prod server is not possible for me.
I have...
June 17, 2013 at 3:51 am
Use OUTPUT INSERTED.a into @foo2 If you want to get the inserted value.
Use OUTPUT DELETED.a into @foo2 If you want to get the value replaced by update statement.
May 24, 2013 at 5:26 am
Add index suggested in Paul's reply, to improve performance of your query.
May 24, 2013 at 5:14 am
Gail,
Just ignore nolock in any of my posts (client policy).
I still need an answer.
May 18, 2013 at 7:10 am
So should I say that it is the old way of INNER JOINing tables, that will not be supported in future versions !!
Also, when we write "x IN (2,4,6)", optimizer...
May 17, 2013 at 9:14 am
Gail, Chris
Thanks a ton.
I will go with queru 1, even if there is no performance gain.
...
May 17, 2013 at 8:17 am
Though I know the drawbacks of NOLOCK, it can't be avoided in our case. So, excuse me for that.
And regarding this post, I know that logically all 3 queries are...
May 17, 2013 at 7:11 am
Query A
SELECT
e.es_id,
e.site_id,
e.bu_id,
e.comp_code,
e.submit_time,
e.status,
e.currency,
j.lt_id
FROM
dbo.exp_sheet e(nolock)
...
May 17, 2013 at 6:15 am
Viewing 15 posts - 91 through 105 (of 128 total)