Re: null value in date field

From: Larry Rosenman <ler(at)lerctr(dot)org>
To: Jeff Deroshia <jeff(at)hal(dot)physast(dot)uga(dot)edu>, pgsql-general(at)postgresql(dot)org
Subject: Re: null value in date field
Date: 2003-02-19 20:53:08
Message-ID: 345670000.1045687988@lerlaptop.iadfw.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

--On Tuesday, February 18, 2003 14:47:44 -0500 Jeff Deroshia
<jeff(at)hal(dot)physast(dot)uga(dot)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(at)postgresql(dot)org)
>

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message owner 2003-02-19 20:54:01 Re: Four questions
Previous Message Stephan Szabo 2003-02-19 20:45:12 Re: null value in date field