Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Learning Oracle - ORA-00907
You want perhaps test X :: Y ?
You may try the LEAST or the GREATEST functions
SELECT LEAST (X, Y) Smallest
FROM ...
PS: There's no boolean type in SQL as in PL/SQL !
"Missy Pont" <missyp_at_excite.com> a écrit dans le message de news:
a8bejg$fb1$1_at_slb3.atl.mindspring.net...
>
> SELECT (X < Y) AS X_Is_Smaller, ....
> ORA-00907: Missing right parenthesis
>
> Your time will be appreciated. Thanks.
>
>
>
Received on Sun Apr 07 2002 - 14:12:03 CDT
![]() |
![]() |