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

Home -> Community -> Usenet -> c.d.o.tools -> Re: Group Syntax Error - not properly ended

Re: Group Syntax Error - not properly ended

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: 8 Aug 2001 16:33:56 -0700
Message-ID: <9ksi9402go2@drn.newsguy.com>

In article <3b71b491.28162145_at_news.onvoy.com>, scott_at_yahoo.com says...
>
>When I save this view, I get the error message "ORA-00933:
>SQL command not properly ended.". What do you think is
>wrong? I am running on Oracle 7. Below is the text in the view that
>is failing.
>
>Thank You!!
>Scott
>
>
>SELECT
> ARINVT.ITEMNO,
> ARINVT.REV,
> DAY_HRS.WORKORDER_ID,
> Sum(IQMS_DAY_USE.TOT_MAT_QTY) SumOfQty
>
>FROM
> DAY_USE,
> DAY_PTS,
> DAY_HRS,
> ARINVT
>
>WHERE
> DAY_USE.DAY_PTS_ID = DAY_PTS.ID, <<<<=====
> AND DAY_PTS.DAY_HRS_ID = DAY_HRS.ID, <<<<------
> AND DAY_USE.ARINVT_ID = ARINVT.ID
>
>GROUP BY ARINVT.ITEMNO, ARINVT.REV, DAY_HRS.WORKORDER
>
>
>

commas are not used in the predicate like that

--
Thomas Kyte (tkyte@us.oracle.com)             http://asktom.oracle.com/ 
Expert one on one Oracle, programming techniques and solutions for Oracle.
http://www.amazon.com/exec/obidos/ASIN/1861004826/  
Opinions are mine and do not necessarily reflect those of Oracle Corp 
Received on Wed Aug 08 2001 - 18:33:56 CDT

Original text of this message

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