Re: [GENERAL] Empty Date Field

From: Chris Bitmead <chris(dot)bitmead(at)bigfoot(dot)com>
To: pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Empty Date Field
Date: 1999-05-10 00:13:07
Message-ID: 37362493.E395E514@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


Set the field to null. i.e.
update foo set datetime=null where...

fabian baena wrote:
>
> Hi, could any one tell me how can I tell postgres that a date field I made
> in a table can be empty.
>
> I created a table with a field like that but I didn't tell it "not null" in
> the declaration, and when I try to fill this table with an empty date it
> gives me an error.
>
> Thank you.
>
> Fabian.
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message darold 1999-05-10 07:37:34 Re: [GENERAL] Restore from dump file: parse error
Previous Message Bruce Momjian 1999-05-09 20:09:02 Re: [GENERAL] Comments on columns?