Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: MSSQL Case equiv in Oracle (8.1.7.2.0)
Thanks Daniel,
The code was closer than i expected.
SELECT priority =
CASE
WHEN (priority = '04-Medium' AND severity = '99') THEN 'URGENT'
ELSE priority
END
FROM table_case
Works a treat! Received on Tue Jan 20 2004 - 18:59:14 CST
![]() |
![]() |