From: Maher, Christopher W <christopher.w.maher@intel.com>
To: 'pgsql-sql@postgresql.org' <pgsql-sql@postgresql.org>
Subject: SQL CONSTRAINTS - Constraining time values from two attributes on a table.
Date: Thu, 4 Oct 2001 23:53:46 +0100
Message-ID: <C406DCEF4576D511843B0002A5071ED54C9B5A@irsmsx104.ir.intel.com> (raw)
Hi,
I was looking for a solution on how to write a constraint into a ' create
table ' expression that would ensure that one ' TIME ' attribute value
called arrival_time (declared as TIME) is allways constrained to have a
value that ensures it is allways after another attribute value called
departure_time (declared as TIME).
Any know how this constraint would be written??
Any help on this would be much appreciated,
Thanks,
Chris.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: christopher.w.maher@intel.com
Subject: Re: SQL CONSTRAINTS - Constraining time values from two attributes on a table.
In-Reply-To: <C406DCEF4576D511843B0002A5071ED54C9B5A@irsmsx104.ir.intel.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox