Re: Please HELP: insert row ... - Mailing list pgsql-novice

From John McKown
Subject Re: Please HELP: insert row ...
Date
Msg-id Pine.LNX.4.21.0010140820130.28194-100000@linux2.johnmckown.net
Whole thread Raw
In response to Please HELP: insert row ...  ("Thu Huynh" <thu_huynh@hotmail.com>)
List pgsql-novice
Simply double the qoute mark.

INSERT INTO table (name) VALUES('John''s house is in Dalas');

On Sat, 14 Oct 2000, Thu Huynh wrote:

> Hello,
>
> Does anyone know how to insert/update data that contains single quote (')
> into a field? Data such as: John's house is in Dalas.
>
> I know one can insert double quote by using single quotes as field
> delimiters.  But since I have to use single quotes as field delimiters, data
> cannot contain single quote.  Is there a way to change the field delimiter?
>
> Thanks for your helps.
>
> Thu.
>
> _________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
> Share information about yourself, create your own public profile at
> http://profiles.msn.com.
>


pgsql-novice by date:

Previous
From: "Thu Huynh"
Date:
Subject: Please HELP: insert row ...
Next
From: Charles Curley
Date:
Subject: Re: Please HELP: insert row ...