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-00933: SQL-command not ended properly

Re: ORA-00933: SQL-command not ended properly

From: Brian Peasland <oracle_dba_at_nospam.peasland.net>
Date: Thu, 27 Apr 2006 15:22:45 GMT
Message-ID: <IyE021.F70@igsrsparc2.er.usgs.gov>


> What is the error you get?

I'm pretty sure the error is the ORA-933 error as indicated in the subject line....anyway...

In the UPDATE command, use single quotes where you have double quotes:

UPDATE FSA.ACCESSLOG
SET FSA.RESOURCESTRING = FSA.ART_DATA.ID || '-' || FSA.ART_DATA.ISSUE FROM FSA.ACCESSLOG, FSA.ART_DATA
WHERE
SUBSTR(FSA.ACCESSLOG.RESOURCESTRING,1,INSTR(FSA.ACCESSLOG.RESOURCESTRING , '-', -1)-1) = FSA.ART_DATA.DESIGNAT
AND
SUBSTR(FSA.ACCESSLOG.RESOURCESTRING,INSTR(FSA.ACCESSLOG.RESOURCESTRING , '-')+1) = FSA.ART_DATA.ISSUE; HTH,
Brian

-- 
===================================================================

Brian Peasland
oracle_dba_at_nospam.peasland.net
http://www.peasland.net

Remove the "nospam." from the email address to email me.


"I can give it to you cheap, quick, and good.
Now pick two out of the three" - Unknown
Received on Thu Apr 27 2006 - 10:22:45 CDT

Original text of this message

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