0
I have this query to insert a data into the database:
INSERT INTO `bancoTeste`.`TabelaTeste` (`t_id`,`t_label`, `t_parametro`, `t_valor`, `t_descricao`, `t_valores_padrao`, `t_tipo`)
VALUES ('NULL','Cargas', 'monitorar_carga','N', 'apresentar as cargas dos veículos do grupo de monitoramento','sim_ou_nao', 'combo');
Mysql error
1 Row(s) affected, 1 Warning(s): 1366 Incorrect integer value: 'NULL' for column 'sis00_id' at Row 1
How to proceed ?
you want to enter the NULL value in the t_id ok? field if that’s better than '0' no? or the field is not INT?
– Diego Braga