Re: insert a value into a table - Mailing list pgsql-general

From Larry Rosenman
Subject Re: insert a value into a table
Date
Msg-id 000001c5d655$37a6a700$0e1993c0@lerctr.org
Whole thread Raw
In response to insert a value into a table  ("surabhi.ahuja" <surabhi.ahuja@iiitb.ac.in>)
List pgsql-general
double the backslashes.  They are an escape character.
 
 

--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 3535 Gaspar Drive, Dallas, TX 75220-3611 US

 


From: pgsql-general-owner@postgresql.org [mailto:pgsql-general-owner@postgresql.org] On Behalf Of surabhi.ahuja
Sent: Friday, October 21, 2005 10:00 AM
To: pgsql-general@postgresql.org
Subject: [GENERAL] insert a value into a table

 i have a fiels - varchar(100)
 
to this fiels i am trying to insert
 
"abc\def\xyz'
 
but it is not inserting the whole thing ...
 
how can i ensure that the whole string including the backslashes get inserted into the table
 
thanks
regards
surabhi

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: How to cluster Postgresql
Next
From: Michael Fuhr
Date:
Subject: Re: insert a value into a table