3
In the Mysql Workbench, when we do not enter a record by query, and yes manually, when giving the APPLY, to query is displayed before execution.
Example of a query composed of the Mysql Workbench:
INSERT INTO `nomedobanco`.`tabela` (`id`, `resumo`, `descricao`, `grupo`, `solicitante`, `atendente`, `status`)
VALUES ('171', 'Teste', 'Testando', '7', '1', '2', 'N');
How it would also work:
INSERT INTO `nomedobanco`.`tabela` (`id`, `resumo`, `descricao`, `grupo`, `solicitante`, `atendente`, `status`)
VALUES (171, 'Teste', 'Testando', 7, 1, 2, 'N');
Doubts
- Why the Mysql Workbench quotes values INT?
- It does not identify the type of fields and ends up inserting everything "as a string"?