Re: using CAST and LIKE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: using CAST and LIKE
Дата
Msg-id 25925.1018899988@sss.pgh.pa.us
обсуждение исходный текст
Ответ на using CAST and LIKE  (Timothy Wood <timothy@hallcomp.com>)
Ответы Re: using CAST and LIKE  (Timothy Wood <timothy@hallcomp.com>)
Список pgsql-general
Timothy Wood <timothy@hallcomp.com> writes:
> SELECT * FROM table WHERE CAST('field' AS TEXT) LIKE '%value%';

I think you meant

SELECT * FROM table WHERE CAST(field AS TEXT) LIKE '%value%';

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: How to Recompile Postgreqsl to increase Function-argument
Следующее
От: Dmitry Tkach
Дата:
Сообщение: Re: Alter/update large tables - VERRRY annoying behaviour!