Hello there and I am very happy to join your community :) I am trying to create a table in oracle by typing the following simple code.
SQL> create table MY_CROPS
2 (CROP NUMBER(1) NOT NULL
3 NAME VARCHAR2(15),
4 START_OF_SEASON DATE,
5 END_OF_SEASON DATE,
6 PRIMARY KEY (CROP));
Can somebody please tell me why I keep getting that error?
ERROR at line 3:
ORA-00907: missing right parenthesis
what's wrong with my parenthesis... :(
Thank you in advance :)
SQL> create table MY_CROPS
2 (CROP NUMBER(1) NOT NULL
3 NAME VARCHAR2(15),
4 START_OF_SEASON DATE,
5 END_OF_SEASON DATE,
6 PRIMARY KEY (CROP));
Can somebody please tell me why I keep getting that error?
ERROR at line 3:
ORA-00907: missing right parenthesis
what's wrong with my parenthesis... :(
Thank you in advance :)
Comment