Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Select clause in the decode syntax
Is it possible to have a select syntax in the decode function ?
Eg: decode(cs_applicant_case_goals.goal_type <> 1421, cs_applicant_case_goals.description, select codes.description from codes where codes.code = 1421) as description
If the above statement is not possible, is there any other way to get a solution ?
Regards
Ravi
Received on Fri Dec 21 2001 - 09:49:15 CST