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: Handling single quotes in data and SQL

Re: Handling single quotes in data and SQL

From: Laurenz Albe <invite_at_spam.to.invalid>
Date: 20 Apr 2006 15:12:32 GMT
Message-ID: <1145545951.603152@proxy.dienste.wien.at>


Mark D Powell <Mark.Powell_at_eds.com> wrote:
> Yes, scan the input string and if it contains a single quote double it
> to being single quote single quote or eliminate the single quote from
> the string altogether.

... or use the 'alternative quoting mechanism':

q'@a string with a ' inside@'

Yours,
Laurenz Albe Received on Thu Apr 20 2006 - 10:12:32 CDT

Original text of this message

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