null value in date field

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

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
one of the following errors:

ERROR: Bad numeric input format ''

ERROR: Bad date external representation ''

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

Thanks,
Jeff Deroshia

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew McMillan 2003-02-18 21:14:30 Re: Accessing PostgreSQL from a remote host
Previous Message Jeff Deroshia 2003-02-18 20:01:29 null value in date field