Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rajkumarapps
Starting Member
1 Post |
Posted - 2006-11-08 : 14:18:36
|
Hello friends,Could u Plz. solve the follwing problem.SQL> create table abc1 2 ( dob date, constraint x_check1 check(dob <=d 3 TO_DATE(sysdate, 'DD-MON-YYYY' ))); TO_DATE(sysdate, 'DD-MON-YYYY' ))) *ERROR at line 3:ORA-02436: date or system variable wrongly specified in CHECK constraintThe date should accept only up to sysdate.Thanks in advanceRAJKumar |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2006-11-08 : 14:51:25
|
I think SYSDATE in SQL Server is equal to GETDATE()Peter LarssonHelsingborg, Sweden |
 |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2006-11-08 : 14:54:07
|
If the question is about ORACLE, post at proper site for ORACLE.Peter LarssonHelsingborg, Sweden |
 |
|
|
|
|