I am trying to create and insert date data into table in SAS but I get this error message.
proc sql;
alter table a2db.student add dob DATETIME format=datetime20.;
insert into a2db.student (dob) values ('1Sep2015:0:0:0'dt);
ERROR: Add/Update failed for data set A2DB.STUDENT because data value(s) do not comply with integrity constraint NM0002.
The column is created but the error occurs at insert command.