From: Brian Ward <brian0@verizon.net>
To: pgsql-sql@postgresql.org
Subject: Re: timestamp
Date: Sun, 6 Oct 2002 11:38:46 -0400
Message-ID: <anpl6g$1i4$1@news.hub.org> (raw)
References: <anphrb$24se$1@news.hub.org>
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?
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: brian0@verizon.net
Subject: Re: timestamp
In-Reply-To: <anpl6g$1i4$1@news.hub.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox