Trim not working (PostgreSQL 9.1.2 on Win64)

Поиск
Список
Период
Сортировка
От Edson Richter
Тема Trim not working (PostgreSQL 9.1.2 on Win64)
Дата
Msg-id BLU0-SMTP4050583C2180B947A90FC4ECFC00@phx.gbl
обсуждение исходный текст
Ответы Re: Trim not working (PostgreSQL 9.1.2 on Win64)  (Edson Richter <edsonrichter@hotmail.com>)
Список pgsql-general
I've a select with the following expression:

select trim(both ' ' from substring(rslinha2 from 5 for position('(-)'
in rslinha2)-6))
            from ...

problem is that the spaces are not being removed from either side. What
would be wrong?

Thanks for your help,

Edson Richter


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Schema-only dump dumps no constraints, no triggers
Следующее
От: Bborie Park
Дата:
Сообщение: Elegant method of accessing N-dimension array in C function