trimming a column

Поиск
Список
Период
Сортировка
От Michael P. Soulier
Тема trimming a column
Дата
Msg-id 20120504010141.GP5230@mitel.com
обсуждение исходный текст
Ответы Re: trimming a column  (Greg Williamson <gwilliamson39@yahoo.com>)
Re: trimming a column  (Adrian Klaver <adrian.klaver@gmail.com>)
Список pgsql-general
Hi,

I need to trim whitespace off of a whole column and replace the existing
values with the trimmed ones.

This isn't working

update mytable set id = trim(id);

I'm not sure of the correct syntax. Help appreciated.

Mike

Вложения

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

Предыдущее
От: Chris Angelico
Дата:
Сообщение: Re: Move the postgreSQL database from Drive C to Map Network Drive (Called Z)
Следующее
От: Greg Williamson
Дата:
Сообщение: Re: trimming a column