Harvinder,

if you do 

select chr(39) from dual, you will get the answer as a '

Therefore, you could do 

select chr(39)||1||chr(39) from dual to get:-

'1'

so now you can help your self.

for future when ever you need to find the ascii of such characters, do:-

select ascii('?') from dual;

and you will get 63,

and doing select chr(63) from dual; will get you a ?

hope it helps,

raja
--

On Mon, 18 Jun 2001 15:25:22  
 Harvinder Singh wrote:
>Hi,
>
>I have a column defined as varchar2......i need to insert name like 'joy' in
>it with quote....
>how can we insert quote(') to column.
>
>Thanks
>Harvinder
>-- 
>Please see the official ORACLE-L FAQ: http://www.orafaq.com
>-- 
>Author: Harvinder Singh
>  INET: [EMAIL PROTECTED]
>
>Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
>San Diego, California        -- Public Internet access / Mailing Lists
>--------------------------------------------------------------------
>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).
>


Get 250 color business cards for FREE!
http://businesscards.lycos.com/vp/fastpath/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Viraj Luthra
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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