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, --
|
- [GENERAL] Trim not working (PostgreSQL 9.1.2 on Win64) Edson Richter
- Re: [GENERAL] Trim not working (PostgreSQL 9.1.2 on Win... Edson Richter
- [GENERAL] Trim not working (PostgreSQL 9.1.2 on Win64) Edson Richter
- Re: [GENERAL] Trim not working (PostgreSQL 9.1.2 on... Adrian Klaver
- Re: [GENERAL] Trim not working (PostgreSQL 9.1.... Edson Richter
- Re: [GENERAL] Trim not working (PostgreSQL ... Tom Lane
- Re: [GENERAL] Trim not working (Postgr... Edson Richter
- Re: [GENERAL] Trim not working (PostgreSQL ... Adrian Klaver
- Re: [GENERAL] Trim not working (Postgr... Edson Richter