Good afternoon;
I'm doing an exercise for my Database course, they passed us a script to create the tables and do the inserts of the elements (I use the Oracle Application Express). But when executing any insert I get the following error:
ORA-01843: not a valid month
The code of the tables and inserts is as follows:
CREATE TABLE CURSOS
( Codigo NUMBER,
Nombre VARCHAR2(20),
Cod_Profe NUMBER,
Max_Alumn NUMBER,
Fecha_Inic DATE,
Fecha_Fin DATE,
Num_Horas NUMBER,
CONSTRAINT Cod_Curso_PK PRIMARY KEY (Codigo),
CONSTRAINT Cod_Profe_FK
FOREIGN KEY (Cod_Profe)
REFERENCES PROFESORADO(Codigo)
);
INSERT INTO CURSOS (Codigo, Nombre, Max_Alumn, Fecha_Inic, Fecha_Fin, Num_Horas) VALUES
(1, 'Curso 1', 30, '01/01/2011', '31/12/2011', 100);