From: | "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it> |
---|---|
To: | eric(at)gateway(dot)ctlno(dot)com |
Cc: | pgsql-general(at)postgreSQL(dot)org |
Subject: | Re: [GENERAL] Problem with apostrophe |
Date: | 1998-06-18 09:37:10 |
Message-ID: | Pine.LNX.3.96.980618093524.649A-100000@proxy.bazzanese.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wed, 17 Jun 1998 eric(at)gateway(dot)ctlno(dot)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(at)bo(dot)nettuno(dot)it
Via Bazzanese, 69 | | Fax. ++39 51 6131537
Casalecchio R.(BO) Italy | | Tel. ++39 51 591054
-----------------------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | David Hartwig | 1998-06-18 12:41:41 | Re: [GENERAL] odbc-drv wouldn't install under win nt |
Previous Message | Christian Steindl | 1998-06-18 06:59:58 | odbc-drv wouldn't install under win nt |