Re: Date / Time Data Type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Date / Time Data Type
Date: 2005-01-31 19:02:04
Message-ID: 21666.1107198124@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

"Van Ingen, Lane" <lvaningen(at)ESNCC(dot)com> writes:
> updatedTime timestamp NOT NULL default '0000-00-00 00:00:00', <------ rejected

Instead of using a blatantly invalid timestamp value to mean "no data",
why don't you use NULL?

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Terry Lee Tucker 2005-01-31 19:09:38 Re: How to learn Postgres?
Previous Message Frank Bax 2005-01-31 19:01:56 Re: Date / Time Data Type