How about people, I hope you can help me solve this problem even if it's silly, I'm trying to create a table with an Identity type ID and I'm getting the following error:
Error que empieza en la línea: 1 del comando :
CREATE TABLE USUARIO (
userID NUMBER GENERATED ALWAYS AS IDENTITY (START WITH 100 INCREMENT BY 1),
username VARCHAR2(32) NOT NULL,
pass VARCHAR2(32) NOT NULL,
nickname VARCHAR2(32) NOT NULL,
email VARCHAR2(32) NOT NULL,
userType CHAR(5) CONSTRAINT CH_userType CHECK(userType IN ('comun', 'boss')),
CONSTRAINT PK_usuario
PRIMARY KEY (userID)
);
Informe de error -
ORA-02000: missing ( keyword
02000. 00000 - "missing %s keyword"
It seems I'm missing a "(" but I can not see where, everything seems to be in order, I hope you can help me, thanks in advance.