Re: [GENERAL] Apostrophes et al in a files with text attribute

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [GENERAL] Apostrophes et al in a files with text attribute
Дата
Msg-id Pine.BSF.3.96.980515095107.17015F-100000@hub.org
обсуждение исходный текст
Ответ на Apostrophes et al in a files with text attribute  (The Web Administrator <wwwadmin@wizard.ca>)
Список pgsql-general
On Fri, 15 May 1998, The Web Administrator wrote:

> I have passed text via a Perl CGI to my database, and tried storing text
>
> into a field with the text attribute.  Only problem is if there is an
> apostrophe in the string as in the word "can't"
> it will not INSERT.... hmm... isn't "isn't" text?
>
> hehehe.. anyways, what is the usual work around?

escape it with a \ and it will work...



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

Предыдущее
От: The Web Administrator
Дата:
Сообщение: Apostrophes et al in a files with text attribute
Следующее
От: Thomas Good
Дата:
Сообщение: subscribe