Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Constraint based on sysdate

Re: Constraint based on sysdate

From: <bhattpranav_at_my-deja.com>
Date: Fri, 23 Jul 1999 19:55:20 GMT
Message-ID: <7nahb4$tu5$1@nnrp1.deja.com>


Hi Brian
At the time of table creation you CANNOT put a constraint involving sysdate, oracle does not allow that as it is a system defined variable. You will have to handle it explicitly.
bye
Pranav

In article <3796623B.A7F88D82_at_creditwatch-inc.com>,   Brian Howard <bh_at_creditwatch-inc.com> wrote:
> I want to put a check constraint on a field in the database which is
> based on the sysdate (ex. sysdate minus 15 years). It says that I
cannot
> use sysdate in a check constraint. Is this true and how can I do it?
>
>

Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't. Received on Fri Jul 23 1999 - 14:55:20 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US