Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.tools -> Ternary '?' in (PL/)SQL
Is there a way to simulate the '?' operator of C-like languages, e.g:
select (char_column == 'Y' ? 'Yes' : 'No') from some_table where ... ;
Thanks!
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Tue Feb 01 2000 - 00:00:00 CST
![]() |
![]() |