Viewing 4 posts - 1 through 4 (of 4 total)
Thanks Guys It helped me lot.
Also I tried it to sortby Organizations since GrandTotal needs to appear on bottom
SELECT [SlNo#] = ROW_NUMBER() OVER(ORDER BY CASE WHEN ORGANIZATIONNAME = 'GrandTotal' THEN...
May 9, 2013 at 12:33 pm
I'm Sorry, I confudsed the question; however, my target is to return both the values like ID and Code result should be as
ID Code
-- -----
1 ...
October 16, 2012 at 11:07 pm
THANKS ROB. IT HELPS LOT 🙂
September 19, 2012 at 6:30 am
Viewing 4 posts - 1 through 4 (of 4 total)