Zeroanarchy
Technical User
Hi thanks for taking the time to look at this. I am interested to know if this is possible in a Oracle query.
What I am trying to do is create two columns and the second column is based on the first columns value.
So in the select query I have hte following. The issue is that Oracle tells me the "Covered" is an invalid identifier.
Code:
CASE WHEN BENEFITLIMIT.Payable = Null
THEN 'No'
WHEN BENEFITLIMIT.URL = Null
THEN 'No'
ELSE 'Yes'
END Covered,
CASE WHEN Covered = 'No'
THEN 'Blank'
ELSE LPS_SERVICES.WAITINGPERIODTIME
END WaitingPeriod
All help appreciated.
Cheers
ZeroAnarchy
Experience is a wonderful thing. It enables you to recognize a mistake
when you make it again.