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 -> Inserting a value that has an apostrophe in it....

Inserting a value that has an apostrophe in it....

From: Jeff Boyer <jdboyer_at_(remove)icomproductions.ca>
Date: Thu, 1 Feb 2001 16:47:36 -0700
Message-ID: <95d0dk$jv9$1@news3.cadvision.com>

Can anyone tell me how to get around the error that occurs when an value being inserted into a field has an apostrophe in it. The SQL insert statement thinks the apostrophe is the end of the statement and crashes.

Ex. INSERT INTO EMP (EmpName) VALUES ('Jeff's Name');

It doesn't like the apostrophe in "Jeff's"

Thanks

Jeff Received on Thu Feb 01 2001 - 17:47:36 CST

Original text of this message

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