Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: elsif statement
Laura Bellini wrote:
>
> In phonetic Oracle form, I am trying to do the following:
>
> ELSIF (SELECT TO_CHAR(NEW_START_DATE, 'HH:MI') > '09:00') THEN
>
> etc...
>
> Check to see if the hour in the New_start_date variable is > 9:00 am.
>
> How to??
>
> thanks!
>
> Laura Bellini
> laura_bellini_at_compaq.com
Try this:
ELSIF TO_NUMBER(TO_CHAR(w_new_start_date, 'HH24MI')) > 0900 THEN ....
/T Gulevski Received on Wed Jan 21 1998 - 00:00:00 CST
![]() |
![]() |