Re: [GENERAL] Problem with apostrophe

From: Amos Hayes <ahayes(at)ingenia(dot)com>
To: eric(at)gateway(dot)ctlno(dot)com
Cc: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Problem with apostrophe
Date: 1998-06-17 19:11:16
Message-ID: Pine.LNX.3.96.980617151002.14569B-100000@smurf.ingenia.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.

Have you tried doubling up? 'O''Brian'

That is what I have to do in Oracle anyway.

--
Amos Hayes Systems Architect
ahayes(at)ingenia(dot)com Ingenia Group - Software Kinetics Ltd.
http://smurf.ingenia.com/~ahayes http://www.ingenia.com

"Remember: No one can make you feel inferior without your consent."
- ELEANOR ROOSEVELT

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message The Hermit Hacker 1998-06-17 19:16:13 Re: [GENERAL] User Gallery...
Previous Message eric 1998-06-17 19:03:04 Problem with apostrophe