DROP TABLE employee CASCADE CONSTRAINTS;
CREATE TABLE employee (
fname varchar2(15) not null,
minit varchar2(1),
lname varchar2(15) not null,
ssn char(9),
bdate date,
address varchar2(30),
sex char,
salary number(10,2),
superssn char(9),
dno number(4),
);
Hello, could anyone tell me why I receive
ORA-00911: invalid character Error
When I try to run this code in Oracle Application Express 11g?
Thank you!
It appears that you have an extra comma after the last line:
dno number(4), -- <<=== Here
Removing it should fix the problem (link to a demo on sqlfiddle).