Re: timestamp - Mailing list pgsql-sql

From Brian Ward
Subject Re: timestamp
Date
Msg-id anpl6g$1i4$1@news.hub.org
Whole thread Raw
In response to timestamp  ("Brian Ward" <brian0@verizon.net>)
List 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@verizon.net> wrote in message
news:anphrb$24se$1@news.hub.org...
> 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?
>
>




pgsql-sql by date:

Previous
From: gzscott2001@yahoo.ca (Scott Yaung)
Date:
Subject: Get A Tree from a table
Next
From: "Brian Ward"
Date:
Subject: Need some SQL help