Re: quotes in pl/pgsql

Поиск
Список
Период
Сортировка
От clayton cottingham
Тема Re: quotes in pl/pgsql
Дата
Msg-id 3AA6C50B.2BCA7E52@smartt.com
обсуждение исходный текст
Ответ на quotes in pl/pgsql  (Najm Hashmi <najm@mondo-live.com>)
Список pgsql-sql
Najm Hashmi wrote:
> 
> Hi all, I just want to know how to put quotes around a string. Is there a
> function to do so?
> If not how can I escape  a single quote.
> Thank you in advance.
> 
>   ------------------------------------------------------------------------
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org

single qutoe escaping :

'here''s johnny'


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

Предыдущее
От: Kyle
Дата:
Сообщение: A query that doesn't work on 7.1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A query that doesn't work on 7.1