Re: timestamp

From: "Brian Ward" <brian0(at)verizon(dot)net>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: timestamp
Date: 2002-10-06 15:38:46
Message-ID: anpl6g$1i4$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

I think I got it but I'm not sure if it's correct.
I put the default as CURRENT_TIMESTAMP but I though I had read that was
being taken out and only now was supported?

Does anyone know?

"Brian Ward" <brian0(at)verizon(dot)net> wrote in message
news:anphrb$24se$1(at)news(dot)hub(dot)org(dot)(dot)(dot)
> How do I create a time stamp column in a table that default to the current
> time
> when a row is inserted?
> I tried putting in now() as the default but I have something wrong
> with the syntax or something I think
> Any one have an example of a table creation script that has a timestamp
> column?
>
>

In response to

  • timestamp at 2002-10-06 14:41:36 from Brian Ward

Browse pgsql-sql by date

  From Date Subject
Next Message Brian Ward 2002-10-06 15:41:46 Need some SQL help
Previous Message Brian Ward 2002-10-06 14:41:36 timestamp