Re: Removing terminal period from varchar string in table column

Поиск
Список
Период
Сортировка
От Rich Shepard
Тема Re: Removing terminal period from varchar string in table column
Дата
Msg-id 82b6a40-ccf5-2b2a-815a-b5673dfd748b@appl-ecosys.com
обсуждение исходный текст
Ответ на Re: Removing terminal period from varchar string in table column  (Thom Brown <thom@linux.com>)
Список pgsql-general
On Tue, 15 Jul 2025, Thom Brown wrote:

> UPDATE companies
> SET company_name = rtrim(company_name, '.')
> WHERE company_name != rtrim(company_name, '.');

Thom,

That makes sense. The web pages I read assumed I knew to use the UPDATE
command. As this was the first time I needed to clean column content I
didn't assume that update was the appropriate mechanism. Now I do.

Thanks,

Rich



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