Re: [GENERAL] Problem with apostrophe - Mailing list pgsql-general

From Jose' Soares Da Silva
Subject Re: [GENERAL] Problem with apostrophe
Date
Msg-id Pine.LNX.3.96.980618093524.649A-100000@proxy.bazzanese.com
Whole thread Raw
In response to Problem with apostrophe  (eric@gateway.ctlno.com)
List pgsql-general
On Wed, 17 Jun 1998 eric@gateway.ctlno.com wrote:

> Is there any way of having an apostrophe in a data field?
> It is a problem because the apostrophe is the same character as the single
> quote, so the database gets a parser error when a name such as "O'Brian"
> is entered.
>
> There must be a work-around, but I can not find any solution.
>
> thank you for your help
You may use doubble apostrophe as in O''Brian to match O'Brian this is
SQL92.
                                                           Jose'
                                  |  |
~~~~~~~~~~~~~~~~~~~~~~~~          |  |            ~~~~~~~~~~~~~~~~~~~~~~~~
          Progetto HYGEA      ----    ----        www.sferacarta.com
    Sfera Carta Software      ----    ----        sferac@bo.nettuno.it
       Via Bazzanese, 69          |  |            Fax. ++39 51 6131537
Casalecchio R.(BO) Italy          |  |            Tel. ++39 51  591054
-----------------------------------------------------------------------------


pgsql-general by date:

Previous
From: Christoph Lorenz
Date:
Subject: Re: [GENERAL] Problem with apostrophe
Next
From: Yuichiro Kinoshita
Date:
Subject: ...