.
... lol ... Bien je gratte et regratte par ci par lo je m'instruit un max la tête va bientôt exploser mais je reste déterminer ^_^
Ok je tente ça :-)
Version imprimable
.
... Snif ! Raté :p
Citation:
Erreur
Requête SQL :
UPDATE
`SyncA`.LV_product_attribute AS `a_attribute`,
INNER JOIN
`SyncB`.LV_product_attribute AS `b_attribute`
ON
a_attribute.`reference` = b_attribute.`reference` AND a_attribute.`ean13` = b_attribute.`ean13`
SET
a_attribute.`quantity` = b_attribute.`quantity`
WHERE
a_attribute.`quantity` != b_attribute.`quantity`
LIMIT 1
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 'INNER JOIN
`SyncB`.LV_product_attribute AS `b_attribute`
ON
a' at line 3
Si je suis un raisonnement logique la formula a l'aire bonne :/Code:
1
2
3 Error: 1064 SQLSTATE: 42000 (ER_PARSE_ERROR) Message: %s near '%s' at line %d
... :(
Allez je tente un derniere fois ...
Bon courrageCode:
1
2
3
4
5
6
7
8
9
10
11
12 UPDATE `SyncA`.LV_product_attribute AS `a_attribute`, `SyncB`.LV_product_attribute AS `b_attribute` INNER JOIN `b_attribute` ON a_attribute.`reference` = b_attribute.`reference` AND a_attribute.`ean13` = b_attribute.`ean13` SET a_attribute.`quantity` = b_attribute.`quantity` WHERE a_attribute.`quantity` != b_attribute.`quantity` LIMIT 1
.
... Nada :p
Merci ^-^ Il est bon et Merci pour votre aide ^-^Citation:
Erreur
Requête SQL :
UPDATE
`SyncA`.LV_product_attribute AS `a_attribute`,
`SyncB`.LV_product_attribute AS `b_attribute`
INNER JOIN
`b_attribute`
ON
a_attribute.`reference` = b_attribute.`reference` AND a_attribute.`ean13` = b_attribute.`ean13`
SET
a_attribute.`quantity` = b_attribute.`quantity`
WHERE
a_attribute.`quantity` != b_attribute.`quantity`
LIMIT 1
MySQL a répondu: Documentation
#1046 - No database selected