Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-00907

Re: ORA-00907

From: Harri Kaukovuo <harri.kaukovuo4_at_nic.fi>
Date: 1 Apr 2002 20:39:24 GMT
Message-ID: <a8aghs$751$1@news1.song.fi>


Try
decode (A,0,C,B/A)

"James O'Brian" <jb300000456666_at_yahoo.com> wrote in news:a8ag3n$71e$1_at_slb2.atl.mindspring.net:

> Try to do:
> if A not equal to zero, then divide B by A, else C.
>
> decode(A<>0,B/A,C)
>
> But gives:
>
> decode(A<>0,B/A,C)
> *
> ORA-00907: SQL missing right parenthesis
>
> Your time will be appreciated. Thanks.

-- 
-----------------------------------------------------------------------
Anti-spam: To reply by e-mail please ERASE the "4" after kaukovuo4
Received on Mon Apr 01 2002 - 14:39:24 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US