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: Single Quote ( ' ) problem in SQL

Re: Single Quote ( ' ) problem in SQL

From: Brian Membrey <horsemth_at_mel.switch.net.au>
Date: 1997/03/10
Message-ID: <01bc2d9c$0c016f60$28a320cb@default>#1/1

Single quotes can be mimicked in SQLPLUS statements by including two consecutive quotes ... hence

        Select blah, blah, blah 
        From A
        where Name = 'O'Conner';
 

should become ...

        where Name = 'O''Conner';

(that's two single quotes, not one double! Received on Mon Mar 10 1997 - 00:00:00 CST

Original text of this message

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