Re: Problem with timestamp - Pls help

From: Stephan Szabo <sszabo(at)megazone(dot)bigpanda(dot)com>
To: Kumar <sgnerd(at)yahoo(dot)com(dot)sg>
Cc: psql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Problem with timestamp - Pls help
Date: 2003-09-19 15:59:19
Message-ID: 20030919085901.F1519@megazone.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Fri, 19 Sep 2003, Stephan Szabo wrote:

> On Fri, 19 Sep 2003, Kumar wrote:
>
> > Dear Friends,
> >
> > I am using Postgres 7.3.4 on Linux server 7.3.
> >
> > I wanted to update one column of my table with now() or timestamp. And I want that timestamp of format ------------------------
>
> > 2003-09-19 18:39:08.13
>
> I think select CAST(CURRENT_TIMESTAMP(0) AS timestamp without time zone)

I meant (2) above.

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 2003-09-19 16:27:26 Re: Problem with timestamp - Pls help
Previous Message Tom Lane 2003-09-19 15:42:30 Re: Problem with timestamp - Pls help