Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> SYSDATE problem
Hi,
I'm trying to create a table, with one of the date attributes having the constraint that the date has to be greater than the current date:
I've defined the table as follows:
SQL> create table mydates (
2 date1 DATE not null primary key,
3 date2 DATE CHECK (date2 > SYSDATE),
4 date3 DATE,
5 date4 DATE);
date2 DATE CHECK (date2 > SYSDATE),
*
Thank you in advance.
Teresa Received on Thu Nov 19 1998 - 18:56:07 CST