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

Home -> Community -> Usenet -> c.d.o.tools -> apostrophe in Oracle field

apostrophe in Oracle field

From: Zhiliang Hu <zhu_at_genomicfx.com>
Date: Tue, 24 Apr 2001 16:10:01 -0500
Message-ID: <3AE5EBA8.86945572@genomicfx.com>

There must be someone encounterred and have a solution to this problem:

When you have a " ' " (apostrophe) among some text data in a table field,
it causes trouble when you do, for example:

> select * from table where name='O'Brian':

ERROR:
ORA-01756: quoted string not properly terminated

Any general approach to avoid this?

Thanks in advance!

Zhiliang Received on Tue Apr 24 2001 - 16:10:01 CDT

Original text of this message

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