Re: [SQL] substring

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [SQL] substring
Дата
Msg-id 8408.925223803@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [SQL] substring  (Nuchanard Chiannilkulchai <nuch@valigene.com>)
Список pgsql-sql
Nuchanard Chiannilkulchai <nuch@valigene.com> writes:
> The problem is : select  position ('_' in a ) from table_a  does not
> work.
>  ERROR:  No such function 'strpos' with the specified attributes

Hmm, I don't see that under either 6.4.2 or current sources.

What data type is your column a?  I tried text and char(n) and neither
one gave an error...
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Strange behavior
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] Arrays and count()