Do you mean a single quote? like this?:

SQL> update tablea set fielda = ' james''ste Camp ''first,''sec''  ';

1 row updated.

SQL> select * from tablea;

FIELDA
----------------------------------------------------------------------------
------------------------
 james'ste Camp 'first,'sec'

1 row selected.


or:

SQL> update tablea set fielda = ' james'||chr(39)||'ste Camp
'||chr(39)||'first,'||chr(39)||'sec'||chr(39)||'  ';

SQL> select * from tablea;

FIELDA
----------------------------------------------------------------------------
------------------------
 james'ste Camp 'first,'sec'

1 row selected.


-----Original Message-----
Sent: Thursday, October 09, 2003 11:59 AM
To: Multiple recipients of list ORACLE-L


List,

How can I user comma " ' " in my update statement?

update tablea set fielda =' james'ste Camp 'first,'sec'  '    


Thanks,

Hamid Alavi

Office           :  818-737-0526
Cell phone  :  818-416-5095

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Hamid Alavi
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Eberhard, Jeff
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to