November 20, 2010 at 3:32 am
HI,
I am using a store procedure to return value.
ID Name Role Date
8 palaneeswar_c All Approvers 2010-11-18 23:02:43.990
13 Deepak_Agarwal109 All Approvers 2010-11-18 23:02:38.447
Finally i want to create a result set as this based upon the roles.
TL1 palaneeswar_c Date 2010-11-18 23:02:43.990
TL2 Deepak_Agarwal109 Date 2010-11-18 23:02:38.447
TL1 in case of All Approvers or HR TL
TL2 in case of All Approvers or Management TL.
Please guide me as how can i achieve this..
November 20, 2010 at 6:45 am
Please remember: we don't know your table structure nor your business case. All we know is what you posted.
And based on that, I don't think we can really help you.
You might need a CASE WHEN THEN logic.
But that's just guessing.
Please see the first link in my signature on how to post questions.
This will most definitely help us help you.
November 21, 2010 at 6:14 pm
And please post what you've actually tried.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply