Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Decode greater than syntax
Could someone please help me figure out how to accomplish the following:
DECODE((RECEIVED_DT - Sysdate) > REQ_DT, TRUE, FALSE) AS CAPTURE
Basically, I'm wanting to set CAPTURE to True or False depending on whether RECEIVED_DT is greather than REQ_DT. Hope this makes sense.
Thanks in advance.
Suzan
Sent via Deja.com http://www.deja.com/
Before you buy.
Received on Fri Apr 07 2000 - 14:28:32 CDT
![]() |
![]() |