Re: Date Validation?

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Date Validation?
Date: 2001-07-13 16:39:44
Message-ID: Pine.BSF.4.21.0107130937370.9901-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Fri, 13 Jul 2001, Josh Berkus wrote:

> Folks,
>
> Pardon me for asking this again, but I received *no* responses last
> week.
>
> Question: Is there any function or method which will allow me, in SQL
> or PL/pgSQL, to validate dates without raising an error for invalid
> dates?

Not as far as I know off hand, although I guess you could duplicate
the code for to_date to another function except changing the error
handling (a bit of a mess, but would probably function in a pinch).

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Andre Schnabel 2001-07-13 16:41:29 Re: How can we match a condition among 2 diff. tables?
Previous Message Matt Rinkenberger 2001-07-13 16:33:23 using custom column names in a group by clause