From: scott.marlowe <scott.marlowe@ihs.com>
To: Bjoern Metzdorf <bm@turtle-entertainment.de>
Cc: Louie Kwan <lkwan@nuvo.com>
Cc: Pgsql-Admin (E-mail) <pgsql-admin@postgresql.org>
Subject: Re: SYSDATE in PostgreSQL !?
Date: Mon, 1 Mar 2004 14:19:17 -0700 (MST)
Message-ID: <Pine.LNX.4.33.0403011418490.681-100000@css120.ihs.com> (raw)
In-Reply-To: <4043A82C.9090707@turtle-entertainment.de>
On Mon, 1 Mar 2004, Bjoern Metzdorf wrote:
> Louie Kwan wrote:
>
> > If there is no SYSDATE defined in PostgreSQL , what can I do ?
> >
> > createTimeStamp DATE default (SYSDATE)
>
> Perhaps NOW() ist what you are looking for?
>
> createTimeStamp DATE default 'NOW()'
I don't think you want the quotes around now(), otherwise it will always
insert the same date / time each time.
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: scott.marlowe@ihs.com, bm@turtle-entertainment.de, lkwan@nuvo.com
Subject: Re: SYSDATE in PostgreSQL !?
In-Reply-To: <Pine.LNX.4.33.0403011418490.681-100000@css120.ihs.com>
References: <4043A82C.9090707@turtle-entertainment.de> <Pine.LNX.4.33.0403011418490.681-100000@css120.ihs.com>
* 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