Your problem is you're using INTEGER
. You should be using NUMBER
:
CREATE TABLE PACIENTE (
IdentificacionID number(5),
TipoIdentificacionID number(5),
Nombre varchar(30),
Apellido varchar(30),
NumeroHistoriaClinica number(5)
);
I agree the error message is confusing though! Here's a SQLFiddle.