Problème avec bdgweb
4 messages • Page 1 sur 1
Problème avec bdgweb
J'ai une erreur sql lorsque j'essaye de remplir les tables auteurs:
requête SQL:
INSERT INTO auteurs
VALUES ( 1, '<Indéterminé>', '', '', '0000-00-00', '0000-00-00', '', '', '' , , , , '', '<Indéterminé>' ) ;
MySQL a répondu:Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',,'','<Indéterminé>')' at line 1
Quelqu'un peut m'aider à résoudre ça? Les autres tables (albums, séries etc se remplissent correctement)
requête SQL:
INSERT INTO auteurs
VALUES ( 1, '<Indéterminé>', '', '', '0000-00-00', '0000-00-00', '', '', '' , , , , '', '<Indéterminé>' ) ;
MySQL a répondu:Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',,'','<Indéterminé>')' at line 1
Quelqu'un peut m'aider à résoudre ça? Les autres tables (albums, séries etc se remplissent correctement)
"I dont know half of you half as well as I should like, and I like less than half of you, half as well as you deserve"
-- Bilbo Baggins, The Lord of the Rings - the Fellowship of the Ring --
-- Bilbo Baggins, The Lord of the Rings - the Fellowship of the Ring --
-

mathhatt - BDGestiste Confirmé

- Messages: 8655
- Inscription: 05/03/2003
- Localisation: Strasbourg ou Brest, France
- Age: 30 ans
- Nombre de BD: 0
- • Sa galerie
Re: Problème avec bdgweb
mathhatt a écrit:J'ai une erreur sql lorsque j'essaye de remplir les tables auteurs:
requête SQL:
INSERT INTO auteurs
VALUES ( 1, '<Indéterminé>', '', '', '0000-00-00', '0000-00-00', '', '', '' , , , , '', '<Indéterminé>' ) ;
MySQL a répondu:Documentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ',,'','<Indéterminé>')' at line 1
Quelqu'un peut m'aider à résoudre ça? Les autres tables (albums, séries etc se remplissent correctement)
Ceci est un problème connu qui est décrit dans des posts précédents. Il faut des 0 ou 1 entre les virgules....
Sur une copie de la base il faut essayer la requéte SQL suivante:
- Code: Tout sélectionner
update auteurs set couleur=1,scenario=1,dessin=1 where isnull(scenario) and isnull(dessin) and isnull(couleur)
-

D_Phil - BDéphile

- Messages: 1482
- Inscription: 05/07/2002
- Localisation: ST-DIZIER 52
- Age: 52 ans
- Nombre de BD: 0
- • Sa galerie
Re: Problème avec bdgweb
Merci beaucoup pour ton aide, ça a l'air d'avoir fonctionné ! 

"I dont know half of you half as well as I should like, and I like less than half of you, half as well as you deserve"
-- Bilbo Baggins, The Lord of the Rings - the Fellowship of the Ring --
-- Bilbo Baggins, The Lord of the Rings - the Fellowship of the Ring --
-

mathhatt - BDGestiste Confirmé

- Messages: 8655
- Inscription: 05/03/2003
- Localisation: Strasbourg ou Brest, France
- Age: 30 ans
- Nombre de BD: 0
- • Sa galerie
Re: Problème avec bdgweb
mathhatt a écrit:Merci beaucoup pour ton aide, ça a l'air d'avoir fonctionné !
C'était certain...
-

D_Phil - BDéphile

- Messages: 1482
- Inscription: 05/07/2002
- Localisation: ST-DIZIER 52
- Age: 52 ans
- Nombre de BD: 0
- • Sa galerie
4 messages • Page 1 sur 1
Retourner vers Addons pour BD Gest'
Qui est en ligne
Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 0 invités



•