Escape Quotes

Поиск
Список
Период
Сортировка
От Keith Gray
Тема Escape Quotes
Дата
Msg-id 3AFB3C52.315C48F0@heart.com.au
обсуждение исходный текст
Ответы Re: Escape Quotes
Список pgsql-sql
When using apostrophies the PostgreSQL string seems to like 
an escape character as follows:

update client set code = 'O\'SHEA' where clientid = 2;


The ANSI-92 standard seems to suggest that this could/should 
be handled by 

<quote> ::= '
<quote symbol> ::= <quote><quote>
update client set code = 'O''SHEA' where clientid = 2;


Is it possible to get/configure PostgreSQL to handle <quote><quote>
as <quote> within a dleimited string?


Keith Gray


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

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: RE: Order by email address by domain ?
Следующее
От: Frank Bax
Дата:
Сообщение: Re: Order by email address by domain ?