1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| SELECT
FProduits.IDFProduits AS IDFProduits,
FProduits.Référence AS Référence,
FProduits.CodeBarre AS CodeBarre,
FProduits.NomTypeProduit AS NomTypeProduit,
FProduits.NomFamillesProduits AS NomFamillesProduits,
FProduits.NomProduit AS NomProduit,
FProduits.Valeur AS Valeur,
DECODE(Fstock.QteEnStock,NULL,0,Fstock.QteEnStock) as QteEnStock
FROM
FProduits
left JOIN Fstock on FStock.Référence = FProduits.Référence
WHERE
MATCH(FProduits.NomTypeProduit, FProduits.NomFamillesProduits, FProduits.NomProduit, FProduits.Valeur) AGAINST({ParamIndex_FullText}) > 0
ORDER BY
Référence ASC |