Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: ORA-00933: SQL-command not ended properly
> 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" - UnknownReceived on Thu Apr 27 2006 - 10:22:45 CDT
![]() |
![]() |