Viewing 4 posts - 16 through 19 (of 19 total)
Hi Jeff,
You said that adding 'partition by' will reduce it only to one case statement, Not able to translate that into a query, can you please help?
Regards - Yasub
June 20, 2011 at 6:14 am
Hi Jeff,
Thanks for your reply. Sorry about the code, its a copy paste error, when i was trying to make the dummy code for this post, please ignore that functional...
June 17, 2011 at 5:41 am
Hi,
Here is the code in the sp which takes a lot of time, around 17 secs, the reads are only 1303,
SELECT
col1, col2, col3....,
(CASE @LocDBSortOrder
WHEN 'DESC' THEN
CASE @LocstrSortExpression ...
June 17, 2011 at 4:29 am
Hi,
Thanks for your reply, there was sniffing, had no choice but to disable it within the sproc.
Was working on another perf issue, the reads are down but the duration is...
June 17, 2011 at 3:24 am
Viewing 4 posts - 16 through 19 (of 19 total)