Re: problems with single quotes..
От
Luis Miguel Castañeda
Тема
Re: problems with single quotes..
Дата
Msg-id
B0001893457@correoserver.interlink.es
Ответ на
Re: problems with single quotes.. (Megalex)
Список
Дерево обсуждения
Unexpected Return from Function "Anthony Bouvier" <anthony@developware.com>
Re: Unexpected Return from Function Stephan Szabo <sszabo@megazone23.bigpanda.com>
Re: Unexpected Return from Function "Anthony Bouvier" <anthony@developware.com>
El Thursday 04 January 2001 08:50, Megalex escribió: > i already tried escaping it.. but the problem is > with the singlequote-backslash-singlequote combinations.. I use something like this, and works fine for me: create function quote(text) returns text as ' DECLARE quote text; BEGIN quote := ichar(39); -- quote return quote || $1 || quote; END;' language 'plpgsql'; -- Saludos, lmc@nova.es _________________________________________________________________ I've lost my faith in nihilism
В списке pgsql-sql по дате отправления