Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Constraint based on sysdate
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:54:51 CDT
![]() |
![]() |