Pessoal,
Boa tarde.
Dividi o banco e consegui fazer todos os inserts.
No final, tem duas tabelas com o mesmo nome mas com campos difetentes. esta certo ?
Qual tabela é a correta ?
CREATE TABLE IF NOT EXISTS `lda_enquete` (
`idenquete` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Identificador do registro',
`resposta` varchar(1) NOT NULL COMMENT 'Reposta da enquete: [R]egular - r[U]im - [B]om - [O]timo',
`dataresposta` datetime NOT NULL COMMENT 'data da resposta',
`idsolicitante` int(11) NOT NULL COMMENT 'codigo identificador do solicitante',
`comentario` varchar(2000) DEFAULT NULL COMMENT 'comentarios do solicitante',
PRIMARY KEY (`idenquete`),
KEY `idsolicitante` (`idsolicitante`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='Enquete do feedback do solicitante sobre o sistema' AUTO_INCREMENT=1 ;
------------------------------------
CREATE TABLE `lda_enquete` (
`id_enquete` int(11) NOT NULL AUTO_INCREMENT,
`idsolicitante` int(11) NOT NULL,
`resposta` varchar(255) NOT NULL,
`comentario` varchar(254) NOT NULL,
`dataresposta` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id_enquete`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
Luis Paulo
---
Este email foi escaneado pelo Avast antivírus.
http://www.avast.com