[FogBugz #79] Mise en cache language_produit #141

Open
opened 2023-07-03 23:19:00 +02:00 by fbenoist68 · 6 comments

Assigned To: CLOSED
Project: CAISSE
Area: awcaisse
Category: Bogue
Priority: Ce serait bien !

Assigned To: CLOSED Project: CAISSE Area: awcaisse Category: Bogue Priority: Ce serait bien !
Poster
Owner

Event ID: 361
Date: 2013-02-13T13:01:29Z
Person: Frederik Benoist
Description: Fermé par Frederik Benoist

Event ID: 361 Date: 2013-02-13T13:01:29Z Person: Frederik Benoist Description: Fermé par Frederik Benoist
Poster
Owner

Event ID: 360
Date: 2013-02-13T13:01:29Z
Person: Frederik Benoist
Description: Resolved (Fixed) and assigned to Frederik Benoist by Frederik Benoist

Event ID: 360 Date: 2013-02-13T13:01:29Z Person: Frederik Benoist Description: Resolved (Fixed) and assigned to Frederik Benoist by Frederik Benoist
Poster
Owner

Event ID: 291
Date: 2013-02-06T08:33:43Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist

/* Formatted on 06/02/2013 09:16:02 (QP5 v5.191) */

SELECT language_produit.id_produit AS a4741,

       language_produit.code AS a4742,

       language_produit.nom AS a4743,

       language_produit.troc_axe1 AS a4744,

       language_produit.troc_axe2 AS a4745,

       language_produit.troc_axe3 AS a4746,

       language_produit.troc_axe4 AS a4747,

       language_produit.messagecentrale AS a4748

  FROM language_produit

       INNER JOIN (SELECT produit_stock_quantite.id_produit,

                          produit_stock.id_structure,

                          SUM (produit_stock_quantite.quantite) AS qte

                     FROM produit_stock_quantite

                          INNER JOIN produit_stock

                              ON     produit_stock_quantite.id_structure = produit_stock.id_structure

                                 AND produit_stock_quantite.id_stock = produit_stock.id_stock

                          INNER JOIN param_type_stock

                              ON produit_stock.id_type_stock = param_type_stock.id_type_stock AND param_type_stock.disponible = 1

                    WHERE (param_type_stock.disponible = 1) AND (produit_stock_quantite.id_structure = 5)

                   GROUP BY produit_stock_quantite.id_produit, produit_stock.id_structure) tmp

           ON tmp.id_produit = language_produit.id_produit AND tmp.qte > 0

       INNER JOIN structure

           ON structure.langue = language_produit.code AND structure.id_structure = 5

WHERE 1 = 1

UNION

SELECT language_produit.id_produit AS a4741,

       language_produit.code AS a4742,

       language_produit.nom AS a4743,

       language_produit.troc_axe1 AS a4744,

       language_produit.troc_axe2 AS a4745,

       language_produit.troc_axe3 AS a4746,

       language_produit.troc_axe4 AS a4747,

       language_produit.messagecentrale AS a4748

  FROM language_produit

       INNER JOIN catalogue_ligne

           ON     catalogue_ligne.id_catalogue IN (SELECT isnull (s.id_catalogue_hors_stock, d.id_catalogue_hors_stock)

                                                     FROM structure s LEFT JOIN distributeur d ON d.id_distrib = s.id_distrib

                                                    WHERE id_structure = 5)

              AND catalogue_ligne.id_produit = language_produit.id_produit

       INNER JOIN structure

           ON structure.langue = language_produit.code AND structure.id_structure = 5

WHERE 1 = 1

UNION

SELECT language_produit.id_produit AS a4741,

       language_produit.code AS a4742,

       language_produit.nom AS a4743,

       language_produit.troc_axe1 AS a4744,

       language_produit.troc_axe2 AS a4745,

       language_produit.troc_axe3 AS a4746,

       language_produit.troc_axe4 AS a4747,

       language_produit.messagecentrale AS a4748

  FROM     language_produit

       INNER JOIN

           produit

       ON produit.id_produit = language_produit.id_produit AND produit.id_type_produit NOT IN (1, 12)

       INNER JOIN structure on structure.langue = language_produit.code AND structure.id_structure = 5

WHERE 1 = 1

 

Event ID: 291 Date: 2013-02-06T08:33:43Z Person: Frederik Benoist Description: Modifié par Frederik Benoist <p class="MsoNormal"> <i><span style="font-family: 'Courier New'; color: green; font-size: 10pt">/* Formatted on 06/02/2013 09:16:02 (QP5 v5.191) */</span></i></p> <p class="MsoNormal"> <b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">SELECT</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4741</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">code </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4742</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">nom </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4743</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe1 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4744</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe2 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4745</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe3 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4746</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe4 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4747</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">messagecentrale </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4748</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">FROM</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;</span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">SELECT</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock_quantite</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; produit_stock</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">SUM</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">produit_stock_quantite</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">quantite</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> qte</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">FROM</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock_quantite</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp; produit_stock_quantite</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock_quantite</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_stock </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_stock</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> param_type_stock</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_type_stock </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> param_type_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_type_stock </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> param_type_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">disponible </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">WHERE</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">param_type_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">disponible </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">produit_stock_quantite</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> 5</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">GROUP</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">BY</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock_quantite</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit_stock</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> tmp</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> tmp</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> tmp</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">qte &gt; 0</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">langue </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">code </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 5</span></p> <p class="MsoNormal"> <b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">WHERE</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1 </span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1</span></p> <p class="MsoNormal"> <b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">UNION</span></b></p> <p class="MsoNormal"> <b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">SELECT</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><b><span lang="EN-US" style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4741</span><span lang="EN-US" style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span lang="EN-US" style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">code </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4742</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">nom </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4743</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe1 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4744</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe2 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4745</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe3 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4746</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe4 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4747</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">messagecentrale </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4748</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">FROM</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> catalogue_ligne</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp; catalogue_ligne</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_catalogue </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">IN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">SELECT</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> isnull </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">s</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_catalogue_hors_stock</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> d</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_catalogue_hors_stock</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">FROM</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure s </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">LEFT</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> distributeur d </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> d</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_distrib </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> s</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_distrib</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">WHERE</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> id_structure </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 5</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> catalogue_ligne</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">langue </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">code </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> structure</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_structure </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 5</span></p> <p class="MsoNormal"> <b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">WHERE</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1 </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1</span></p> <p class="MsoNormal"> <b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">UNION</span></b></p> <p class="MsoNormal"> <b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">SELECT</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4741</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">code </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4742</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">nom </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4743</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe1 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4744</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe2 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4745</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe3 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4746</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">troc_axe4 </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4747</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">messagecentrale </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AS</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> a4748</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">FROM</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp; language_produit</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">INNER</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">JOIN</span></b></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; produit</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">ON</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_produit </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">AND</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> produit</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">id_type_produit </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">NOT</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">IN</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">(</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt">1</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">,</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 12</span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">)</span></p> <p class="MsoNormal"> <span style="font-family: 'Courier New'; color: black; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><b><span style="font-family: 'Courier New'; background: yellow; color: blue; font-size: 10pt">INNER</span></b><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt"> </span><b><span style="font-family: 'Courier New'; background: yellow; color: blue; font-size: 10pt">JOIN</span></b><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt"> structure </span><b><span style="font-family: 'Courier New'; background: yellow; color: blue; font-size: 10pt">on</span></b><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt"> structure</span><span style="font-family: 'Courier New'; background: yellow; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt">langue </span><span style="font-family: 'Courier New'; background: yellow; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt"> language_produit</span><span style="font-family: 'Courier New'; background: yellow; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt">code </span><b><span style="font-family: 'Courier New'; background: yellow; color: blue; font-size: 10pt">AND</span></b><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt"> structure</span><span style="font-family: 'Courier New'; background: yellow; color: red; font-size: 10pt">.</span><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt">id_structure </span><span style="font-family: 'Courier New'; background: yellow; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; background: yellow; color: black; font-size: 10pt"> 5</span></p> <p class="MsoNormal"> <b><span style="font-family: 'Courier New'; color: blue; font-size: 10pt">WHERE</span></b><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1 </span><span style="font-family: 'Courier New'; color: red; font-size: 10pt">=</span><span style="font-family: 'Courier New'; color: black; font-size: 10pt"> 1</span></p> <p class="MsoNormal"> <span style="font-family: 'Calibri', 'sans-serif'; color: #1f497d; font-size: 11pt">&nbsp;</span></p>
Poster
Owner

Event ID: 290
Date: 2013-02-05T16:13:10Z
Person: Frederik Benoist
Description: Modifié par Frederik Benoist

toutes les langues se mettent en cache et il manque a priori des ID_PRODUIT

Event ID: 290 Date: 2013-02-05T16:13:10Z Person: Frederik Benoist Description: Modifié par Frederik Benoist <p> toutes les langues se mettent en cache et il manque a priori des ID_PRODUIT</p>
Poster
Owner

Event ID: 289
Date: 2013-02-05T16:12:40Z
Person: Frederik Benoist
Description: Attribué à Frederik Benoist par Frederik Benoist

Event ID: 289 Date: 2013-02-05T16:12:40Z Person: Frederik Benoist Description: Attribué à Frederik Benoist par Frederik Benoist
Poster
Owner

Event ID: 288
Date: 2013-02-05T16:12:40Z
Person: Frederik Benoist
Description: Ouvert par Frederik Benoist

Event ID: 288 Date: 2013-02-05T16:12:40Z Person: Frederik Benoist Description: Ouvert par Frederik Benoist
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: fbenoist68/mobileportal#141
There is no content yet.