Bonjour,

Je voudrais un update avec des jointures externes.

Voici ma requête :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
update table1
set mon_champ = 'test'
left outer join table2 on table1.id = table2.id 
left outer join table3 on table3_id=table2.id 
left outer join table4 on table4.id=table3.id 
where table1.date1 > '28/04/2011' and table1.date2 < '25/09/2011' 
and table4.intitule not in ('toto')
La requete me retourne :
La commande SQL ne se termine pas correctement