Monday, July 1, 2013

issue with "Order by" clause


I have used query hint "OPTION ( HASH GROUP )" and now its working fine.


Thanks for all your help and responses.



I do not think that should be the way to fix this issue. You are taking a very advanced call before you do the necessary actions, ie , creating indexes, tuning the code due to parameter sniffing etc. It is my personal opinion though.


Please use Marked as Answer if my post solved your problem and use Vote As Helpful if a post was useful.


No comments:

Post a Comment