Re: Validity check in to_date? - Mailing list pgsql-sql

From Alexander M. Pravking
Subject Re: Validity check in to_date?
Date
Msg-id 20031202105835.GJ87728@dyatel.antar.bryansk.ru
Whole thread Raw
In response to Re: Validity check in to_date?  ("Alexander M. Pravking" <fduch@antar.bryansk.ru>)
List pgsql-sql
On Tue, Dec 02, 2003 at 01:55:06PM +0300, Alexander M. Pravking wrote:
> Try using check (VALUE::text::date).

Assuming check expects boolean result, it's (VALUE::text::date IS NOT NULL)


-- 
Fduch M. Pravking


pgsql-sql by date:

Previous
From: "Alexander M. Pravking"
Date:
Subject: Re: Validity check in to_date?
Next
From: "Alexander M. Pravking"
Date:
Subject: Re: Problem with intervals