Re: Extract last 4 characters from string?

From: Rodrigo De León <rdeleonp(at)gmail(dot)com>
To: "D(dot) Dante Lorenso" <dante(at)lorenso(dot)com>
Cc: Postgres-General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Extract last 4 characters from string?
Date: 2007-12-12 21:40:02
Message-ID: a55915760712121340m4942a0d0w7377544c428cbe56@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Dec 12, 2007 4:11 PM, D. Dante Lorenso <dante(at)lorenso(dot)com> wrote:
> Is there an easy (preferred) method that I'm missing?

select substring('ABCDEFGHIJKLMNOP' from '....$');

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2007-12-12 21:56:15 Re: data type change on a view
Previous Message Ertel, Steve 2007-12-12 21:29:56 simple way to find the constraints