CREATE TABLE Application (
studentID VARCHAR(10) NOT NULL ,
firstName VARCHAR(10),
lastName VARCHAR(20),
ic VARCHAR(15),
dateOfBirth DATE,
gender CHAR(1),
email VARCHAR(20),
applStatus VARCHAR(10),
homeAddress VARCHAR(30),
pinCode INTEGER,
country VARCHAR(10),
stated VARCHAR(10),
primary key (studentID)
);
INSERT INTO APPLICATION VALUES('15WAD04433','DANIEL','CHOO','961019-06-1783','19/10/1996','M','DC@HOTMAIL.COM','SUCCESSFUL','A 4710, LORONG ALOR AKAR 30',25250,'KUANTAN','PAHANG');
Error is [Exception, Error code 30,000, SQLState 22007] The string representation of a date/time value is out of range.
Hi everyone, I am using "NetBeans IDE 8.2" to create a database but when i insert the date 19/10/1996 come out with an error. There is impossible the date of birth is 2016 year same as the current date and time, may i know what to do to set the date of birth back to 1996 without having the error?