Re: Mailing

From: Csaba Nagy <nagy(at)ecircle-ag(dot)com>
To: Postgres general mailing list <pgsql-general(at)postgresql(dot)org>
Subject: Re: Mailing
Date: 2004-10-05 15:05:33
Message-ID: 1096988732.3291.44.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hey, I didn't know "trim" is so flexible... cool !

Cheers,
Csaba.

On Tue, 2004-10-05 at 17:00, Kevin Barnard wrote:
> SELECT trim(leading '0' from to_char(now(), 'HH:MM AM'))
>
> I think is what you really want. This gets rid of the nasty leasing 0.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html

In response to

  • Re: Mailing at 2004-10-05 15:00:29 from Kevin Barnard

Browse pgsql-general by date

  From Date Subject
Next Message Todd P Marek 2004-10-05 15:06:51 Re: Mailing
Previous Message Kevin Barnard 2004-10-05 15:00:29 Re: Mailing