I have the "registry" table defined in this way in my database:
create table registro(
Id_registro int not null auto_increment,
fecha date,
financiero int not null,
clientes int not null,
procesos_internos int not null,
aprendizaje_desarrollo int not null,
observaciones varchar(45),
primary key(Id_registro)
);
And in a .csv file I have the following data:
1,5/24/2016, 69 , 69 , 83 , 73 ,Hubo muy pocas ventas ese dia
When I try to make an insert from the .csv file I get the following error message:
Error Code: 1265. Data truncated for column 'Registration_id' at row 1 0.109 sec
Why do I get this error? If according to me I declared my variables well. How can I solve it?