CREATE TABLE IF NOT EXISTS `criteres` ( `id` int(11) NOT NULL AUTO_INCREMENT, `idClient` int(11) NOT NULL, `login` varchar(20) NOT NULL, `reference` varchar(50) NOT NULL, `criteres` longtext NOT NULL, `parent` int(11) NOT NULL, `dateAjout` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', PRIMARY KEY (`id`), KEY `reference` (`reference`), KEY `login` (`login`) ) DEFAULT CHARSET=utf8 COMMENT='Sauvegarde des critères pour les comptages' ;