Re: Removing terminal period from varchar string in table column

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Removing terminal period from varchar string in table column
Date: 2025-07-15 17:59:27
Message-ID: 8f5b6f90-cbb7-bffc-c15-134dcc6bce4@appl-ecosys.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 15 Jul 2025, Thom Brown wrote:

> There are various options, but perhaps just use rtrim.
> rtrim(company_name, '.')

Thom,

I looked at rtrim() but didn't see where to specify the table name. Would it
be `select * from table companies rtrim(company_name, '.')'?

Thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2025-07-15 18:02:14 Re: Removing terminal period from varchar string in table column
Previous Message Thom Brown 2025-07-15 17:46:07 Re: Removing terminal period from varchar string in table column