Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> MSSQL Case equiv in Oracle (8.1.7.2.0)
Hi all,
I am trying to port the query below from an MSSQL 2000 server to an ORACLE 8.1.7.2.0 server. I assume i need to use the DECODE command but i just cant seem to get it working... any help would be great!
<code start>
SELECT priority = CASE WHEN priority = '04-Medium' AND severity = '99'
THEN 'URGENT'
ELSE priority END
![]() |
![]() |