J'ai une base, dans laquelle j'ai 2 tables (1 définissant les "utilisateurs" & une autre ou sont stocké les "données" enregistré par les utilisateurs).Peux-tu nous donner la structure exacte de ta table ?
Et éventuellement un échantillon de données ?
Code : Tout sélectionner
(Nbr_Decodeur_sur _ligne1 + 1)+(Nbr_Decodeur_sur _ligne2 + 1)+...+(Nbr_Decodeur_sur _ligneN + 1) situé entre la date1 & la date2
Je suis désolé de te contredire mais j'ai répondu personnellement à ton post sur l'autre site en te demandant exactement que te demande AlbatDésolé "Truc", mais je n'avais pas eu de réponse et je dois rendre ma copie pour mardi ! J'ai essayé au départ de me débrouiller seul, mais voyant la date arriver, je me suis - un peu tard - décidé à lancer une demande d'aide.
J'ai donc, effectivement posé ma question sur 2 forums![]()
Que voulez vous ?
Je constate que ici tu réponds au post, mais toujours pas aux questions.
Si toi tu connais tes tables, nous ici, nous n'avons pas la chance d'avoir des boules de cristal.
Code : Tout sélectionner
DESCRIBE nom_table;Code : Tout sélectionner
SELECT * FROM nom_table LIMIT n, m;
Ah bon ?je ne sais pas ce qu'il vous faut exactement pour répondre ??? (...)
maintenant, je vois qu'il faut livrer la base entière.
Peux-tu nous donner la structure exacte de ta table ?
Et éventuellement un échantillon de données ?
C'est cela que vous souhaitez avoir ?Re,
Si je relis tous les post concernant ta demande, la seule fois ou je trouve "la base entière" c'est sur ton dernier.
Si tu ne sais pas comment obtenir ce qu'on te demande (la structure d'une table et extraire quelques données de celle-ci), demande.
Pour obtenir la structure d'une tablePour obtenir un certain nombre d'enregistrementsCode : Tout sélectionner
DESCRIBE nom_table;Où n représente le Nº de l'enrgistrement de départ et m le nombre d'enregistrements à extraire.Code : Tout sélectionner
SELECT * FROM nom_table LIMIT n, m;
Code : Tout sélectionner
CREATE TABLE `client` (
`id` int(11) NOT NULL,
`NomClient` text NOT NULL,
`ND` text NOT NULL,
`DateInstall` date NOT NULL,
`NbrTVHD` tinyint(4) NOT NULL,
`NbrTVSD` tinyint(4) NOT NULL,
`NbrPCFixe` tinyint(4) NOT NULL,
`NbrPCPortable` tinyint(4) NOT NULL,
`NbrLive` tinyint(4) NOT NULL,
`NbrLiveM` tinyint(4) NOT NULL,
`TypInstall` text NOT NULL,
`Type` text NOT NULL,
`PuissRecu` text NOT NULL,
`PuissEmise` text NOT NULL,
`LongEthernet` text NOT NULL,
`AdresseMAC` text NOT NULL,
`NumSerieONT` text NOT NULL,
`DescriptionPassage` text NOT NULL,
`Lieu` text NOT NULL,
`Info` text NOT NULL,
`LieuLB` text NOT NULL,
`InfoLB` text NOT NULL,
`HTache1a` time NOT NULL,
`HTache1b` time NOT NULL,
`HTache2a` time NOT NULL,
`HTache2b` time NOT NULL,
`nbr1` tinyint(4) NOT NULL,
`nbr2` tinyint(4) NOT NULL,
`CnxTVHD1` text NOT NULL,
`BouquetHD1` text NOT NULL,
`LieuTVHD1` text NOT NULL,
`TVHD1` text NOT NULL,
`CnxTVHD2` text NOT NULL,
`BouquetHD2` text NOT NULL,
`LieuTVHD2` text NOT NULL,
`TVHD2` text NOT NULL,
`CnxTVHD3` text NOT NULL,
`BouquetHD3` text NOT NULL,
`LieuTVHD3` text NOT NULL,
`TVHD3` text NOT NULL,
`CnxTVHD4` text NOT NULL,
`BouquetHD4` text NOT NULL,
`LieuTVHD4` text NOT NULL,
`TVHD4` text NOT NULL,
`CnxTVHD5` text NOT NULL,
`BouquetHD5` text NOT NULL,
`LieuTVHD5` text NOT NULL,
`TVHD5` text NOT NULL,
`CnxTVSD1` text NOT NULL,
`BouquetSD1` text NOT NULL,
`LieuTVSD1` text NOT NULL,
`TVSD1` text NOT NULL,
`CnxTVSD2` text NOT NULL,
`BouquetSD2` text NOT NULL,
`LieuTVSD2` text NOT NULL,
`TVSD2` text NOT NULL,
`CnxTVSD3` text NOT NULL,
`BouquetSD3` text NOT NULL,
`LieuTVSD3` text NOT NULL,
`TVSD3` text NOT NULL,
`CnxTVSD4` text NOT NULL,
`BouquetSD4` text NOT NULL,
`LieuTVSD4` text NOT NULL,
`TVSD4` text NOT NULL,
`CnxTVSD5` text NOT NULL,
`BouquetSD5` text NOT NULL,
`LieuTVSD5` text NOT NULL,
`TVSD5` text NOT NULL,
`CnxFixe1` text NOT NULL,
`fixe1` text NOT NULL,
`LieuPCFixe1` text NOT NULL,
`FIX1` text NOT NULL,
`CnxFixe2` text NOT NULL,
`fixe2` text NOT NULL,
`LieuPCFixe2` text NOT NULL,
`FIX2` text NOT NULL,
`CnxFixe3` text NOT NULL,
`fixe3` text NOT NULL,
`LieuPCFixe3` text NOT NULL,
`FIX3` text NOT NULL,
`CnxFixe4` text NOT NULL,
`fixe4` text NOT NULL,
`LieuPCFixe4` text NOT NULL,
`FIX4` text NOT NULL,
`CnxFixe5` text NOT NULL,
`fixe5` text NOT NULL,
`LieuPCFixe5` text NOT NULL,
`FIX5` text NOT NULL,
`CnxPortable1` text NOT NULL,
`portable1` text NOT NULL,
`LieuPortable1` text NOT NULL,
`POR1` text NOT NULL,
`CnxPortable2` text NOT NULL,
`portable2` text NOT NULL,
`LieuPortable2` text NOT NULL,
`POR2` text NOT NULL,
`CnxPortable3` text NOT NULL,
`portable3` text NOT NULL,
`LieuPortable3` text NOT NULL,
`POR3` text NOT NULL,
`CnxPortable4` text NOT NULL,
`portable4` text NOT NULL,
`LieuPortable4` text NOT NULL,
`POR4` text NOT NULL,
`CnxPortable5` text NOT NULL,
`portable5` text NOT NULL,
`LieuPortable5` text NOT NULL,
`POR5` text NOT NULL,
`CnxLiveM1` text NOT NULL,
`TypeLiveM1` text NOT NULL,
`LieuLiveM1` text NOT NULL,
`ZIK1` text NOT NULL,
`CnxLiveM2` text NOT NULL,
`TypeLiveM2` text NOT NULL,
`LieuLiveM2` text NOT NULL,
`ZIK2` text NOT NULL,
`CnxLiveM3` text NOT NULL,
`TypeLiveM3` text NOT NULL,
`LieuLiveM3` text NOT NULL,
`ZIK3` text NOT NULL,
`CnxLiveM4` text NOT NULL,
`TypeLiveM4` text NOT NULL,
`LieuLiveM4` text NOT NULL,
`ZIK4` text NOT NULL,
`CnxLiveM5` text NOT NULL,
`TypeLiveM5` text NOT NULL,
`LieuLiveM5` text NOT NULL,
`ZIK5` text NOT NULL,
`CnxLive1` text NOT NULL,
`TypeLive1` text NOT NULL,
`LieuLive` text NOT NULL,
`CAM1` text NOT NULL,
`CnxLive2` text NOT NULL,
`TypeLive2` text NOT NULL,
`LieuLive2` text NOT NULL,
`CAM2` text NOT NULL,
`CnxLive3` text NOT NULL,
`TypeLive3` text NOT NULL,
`LieuLive3` text NOT NULL,
`CAM3` text NOT NULL,
`CnxLive4` text NOT NULL,
`TypeLive4` text NOT NULL,
`LieuLive4` text NOT NULL,
`CAM4` text NOT NULL,
`CnxLive5` text NOT NULL,
`TypeLive5` text NOT NULL,
`LieuLive5` text NOT NULL,
`CAM5` text NOT NULL,
`TIC` text character set armscii8 NOT NULL,
`Dpt` int(5) default NULL,
`SAV` longtext character set armscii8,
`Prod` longtext character set armscii8 NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Perso je me range de ton coté.Wahou
Oui, apparemment c'est cela qu'il recherche. Maintenant, soit ça les fait sauter au plafond, soit pas. Moi perso ça me fait sauter très haut ! J'aurai plutôt utilisé des bases liées en essyant d'utiliser des CHAR plutôt que des text...
Enfin, A vot' bon coeur les copains ViPHP![]()
(poste tout de même une explication plus large de la base, ce que ça peut contenir etc....un exemple concret...ou echantillon comme Albat et Ajoloca ont également demandé)
Je crains que la nuit te soit rude Ajoloca. Un somnifère s'impose je pensePerso je me range de ton coté.
J'ai troué le plaffond, et du InnoDB en prime. Mort au relationnel !!!