Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Use DECODE result in WHERE clause?
I think that
DECODE(r.cd_status, NULL, p.cd_status, r.cd_status)
can be replaced with
NVL(r.cd_status, p.cd_status).
Received on Thu Sep 20 2007 - 16:12:38 CDT