Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Handling single quotes in data and SQL
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