Bonjour,
J'ai une requête du type :
Y-a-t-il moyen de faire plus court et plus efficace ?
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9 Select ... From ... where IdArticle = X1 and IdFournisseur = Y1 Or IdArticle = X2 and IdFournisseur = Y2 Or IdArticle = X3 and IdFournisseur = Y3 Or IdArticle = X4 and IdFournisseur = Y4 Or IdArticle = X5 and IdFournisseur = Y5 ... Or IdArticle = Xx and IdFournisseur = Yy
Merci.
Partager