I have 3 fields that shows a hierachy in my application. The 3 fileds are as follows:
rl.Level1
rl.Level2
rl.Level3
I am trying to show only the last level that is populated in my output.
Basically this is what I am trying to do. If level3 is null then return level2 but if level2 is also null then return level1 but if level3 is not null then return level3.
Level1 will always be not null.
This is in my select clause so would I do this with a case statment?
Thanks!