| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> newbie SQL question
I am using: SQL*Plus: Release 3.3.4.0.0
and Personal Oracle 7.3.4, Win95
the following statement not working, I show it below w/error message :
SQL> CREATE TABLE PENALTIES_DEFAULT
2 (PAYMENTNO INTEGER NOT NULL,
3 PLAYERNO SMALLINT NOT NULL,
4 PEN_DATE DATE NOT NULL DEFAULT '01-JAN-90',
5 AMOUNT DECIMAL(7,2) NOT NULL DEFAULT 50.00);
PEN_DATE DATE NOT NULL DEFAULT '01-JAN-90',
*
btw, i got this statement from "The SQL Guide to Oracle", by van der
Lans
it may be erratta since the book was written for Oracle6, and the author
notes that the implementation for DEFAULT may change for later versions.
What's wrong here? THANKS, LeeGold Received on Mon Nov 29 1999 - 14:21:28 CST
![]() |
![]() |