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 20:01:29
Message-ID: C518AACE-437B-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

Browse pgsql-novice by date

  From Date Subject
Next Message Jeff Deroshia 2003-02-18 21:13:59 null value in date field
Previous Message Steve_Miller 2003-02-18 15:51:27 Re: Multiple Return Values?