null value in date field

From: Jeff Deroshia <jeff(at)hal(dot)physast(dot)uga(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: null value in date field
Date: 2003-02-18 19:47:44
Message-ID: D96825C2-4379-11D7-9E8D-000393A34A52@hal.physast.uga.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a form that contains optional DATE fields. To enter null
values, I've tried null, 'null', '', '-', '0', 0, and each time I get
the following error:

ERROR: Bad numeric input format ''

Is there a correct way to enter null values into DATE fields?

Thanks,
Jeff Deroshia

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2003-02-18 19:51:14 Re: changing the last_value in a sequence
Previous Message Jean-Luc Lachance 2003-02-18 19:41:46 Re: Table Partitioning in Postgres: