Search Postgresql Archives

Trim not working (PostgreSQL 9.1.2 on Win64)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 Carlos Ericksson Richter
SimKorp Informática Ltda
Fone: (51) 3366-7964
Celular: (51)9318-9766/(51) 8585-0796
Embedded Image


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux