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

Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle Update failed with single quotes in the data

Re: Oracle Update failed with single quotes in the data

From: Martin Haltmayer <Martin.Haltmayer_at_0800-einwahl.de>
Date: Sun, 26 Nov 2000 18:00:14 +0100
Message-ID: <3A21419E.13D93940@0800-einwahl.de>

Are you passing your data by literals or by bind variables?

If literals: that is defined behaviour of the parser. You have to double your apostrophes. Example: instead of "update foo set bar = 'Harper's'" you have to issue the command "update foo set bar = 'Harper''s'" or "update foo set bar = 'Harper' || chr (39) || 's'".

If bind variables: can you please post the code snippet?

Martin Received on Sun Nov 26 2000 - 11:00:14 CST

Original text of this message

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