Re: [GENERAL] Problem with apostrophe

Поиск
Список
Период
Сортировка
От Amos Hayes
Тема Re: [GENERAL] Problem with apostrophe
Дата
Msg-id Pine.LNX.3.96.980617151002.14569B-100000@smurf.ingenia.com
обсуждение исходный текст
Ответ на Problem with apostrophe  (eric@gateway.ctlno.com)
Ответы Re: [GENERAL] Problem with apostrophe  ("Brett W. McCoy" <bmccoy@lan2wan.com>)
Список 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.

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

That is what I have to do in Oracle anyway.

--
Amos Hayes                      Systems Architect
ahayes@ingenia.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


В списке pgsql-general по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: Re: [GENERAL] User Gallery...
Следующее
От: "Brett W. McCoy"
Дата:
Сообщение: Re: [GENERAL] Problem with apostrophe