Bonjour ,

Selon le lien oracle il est précisé que :
If A and B are joined by multiple join conditions, then you must use the (+) operator in all of these conditions.
If you do not, then Oracle Database will return only the rows resulting from a simple join, but without a warning or error to advise you that you do not have the results of an outer join.

J'essaye d'appliquer cela dans la jointure externe suivante :

Code SQL : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
SELECT T1.*
FROM TABLE1 T1, TABLE2 T2 
Where T1.ID = T2.ID(+)  
and  T1.statut = T2.statut  /* Faut-il rajouter obligatoirement (+) => and T1.statut = T2.statut(+) */
and T1.NUM = 1000  
and T2.NUM(+)= 2000 /* Le (+) ici est-il obligatoire ? */
and T2.ANNE is not null; /* Faut-il rajouter obligatoirement (+) => and T2.ANNE(+) is not null */
merci