I want to create the following table
CREATE TABLE EMPLOYEE (
name_id varchar(255) PRIMARY KEY,
modified_at TIMESTAMP,
created_at TIMESTAMP
);
but oracle give the error
ORA-00922: missing or invalid option
I also tried the following SQL request but same issue is happening
CREATE TABLE EMPLOYEE (
name_id varchar(255),
modified_at TIMESTAMP,
created_at TIMESTAMP,
CONSTRAINT EMPLOYEE UNIQUE (name_id)
);
The request where executed using java code and the driver ojdbc6-11.2.0.4.jar
is there anything wrong in my sql ?