rtrim

Поиск
Список
Период
Сортировка
От ryanne cruz
Тема rtrim
Дата
Msg-id 1043216728.3e2e39585c6f3@mail.up.edu.ph
обсуждение исходный текст
Ответы Re: rtrim
Re: rtrim
Список pgsql-php
hi list.

if there's anyone here who's familiar with teh rtrim function, please i need
help.

i have a table that has a column in it that has data in this format:

California, USA
Nevada, USA
.
.
.

when i use rtrim to erase the ", USA" part, it only sometimes work. a sample
result would be:

California
Nevad

my query statement is:
update table set name=rtrim(name,', USA');

why is it that it only works sometimes?

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

Предыдущее
От: ryanne cruz
Дата:
Сообщение: pg_result
Следующее
От: ryanne cruz
Дата:
Сообщение: Re: rtrim