Re: null value in date field - Mailing list pgsql-general

From Larry Rosenman
Subject Re: null value in date field
Date
Msg-id 345670000.1045687988@lerlaptop.iadfw.net
Whole thread Raw
In response to null value in date field  (Jeff Deroshia <jeff@hal.physast.uga.edu>)
List pgsql-general

--On Tuesday, February 18, 2003 14:47:44 -0500 Jeff Deroshia
<jeff@hal.physast.uga.edu> wrote:

> 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?
NULL outside of quotes.


>
> Thanks,
> Jeff Deroshia
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>



--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749




pgsql-general by date:

Previous
From: owner
Date:
Subject: Re: Four questions
Next
From: "Marc G. Fournier"
Date:
Subject: Re: techdocs broken again.