LinuXelite
Programmer
UPDATE (factures INNER JOIN factures_details ON factures.COMMANDE_R = factures_details.COMMANDE_L)
INNER JOIN dictionnaire_items_total ON (factures_details.NOCOMPAGNIE = dictionnaire_items_total.NOCOMPAGNIE)
AND (factures_details.ITEM_CODE = dictionnaire_items_total.ITEM_CODE)
AND (factures_details.LINE_CODE = dictionnaire_items_total.LINE_CODE)
SET factures.categorie = dictionnaire_items_total.categorie
WHERE (((factures.categorie)="")
LIMIT 50;
Error:
Error: 1064 - You have an error in your SQL syntax near '(factures INNER JOIN factures_details ON factures.COMMANDE_R = factures_details.' at line 1
Any idea??? The same query works with others databases such as dbase.
INNER JOIN dictionnaire_items_total ON (factures_details.NOCOMPAGNIE = dictionnaire_items_total.NOCOMPAGNIE)
AND (factures_details.ITEM_CODE = dictionnaire_items_total.ITEM_CODE)
AND (factures_details.LINE_CODE = dictionnaire_items_total.LINE_CODE)
SET factures.categorie = dictionnaire_items_total.categorie
WHERE (((factures.categorie)="")
LIMIT 50;
Error:
Error: 1064 - You have an error in your SQL syntax near '(factures INNER JOIN factures_details ON factures.COMMANDE_R = factures_details.' at line 1
Any idea??? The same query works with others databases such as dbase.