<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problème urgent SQL in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163538#M36610</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour la communauté&lt;/P&gt;&lt;P&gt;Je suis vraiment tres bizarre ces derniers jours. J'ecris mes requetes, elles fonctionnent bien sous TOD FOR ORACLE. Mais quand je les importe dans Qlikview, c'est la vrai ***. Ca ne marche jamais.&lt;/P&gt;&lt;P&gt;Exemple:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SELECT c.nomredclass libpere, c1.nomredclass libfils1,&lt;BR /&gt; c2.nomredclass libfils2, SUM (e.cpt_mtdb)&lt;BR /&gt; FROM comclass c&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c1&lt;BR /&gt; ON c1.cdos = c.cdos AND c1.numpere = c.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c2&lt;BR /&gt; ON c2.cdos = c1.cdos AND c2.numpere = c1.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comecrgen e&lt;BR /&gt; ON e.cdos = c2.cdos AND SUBSTR (e.numcpt, 0, 3) = c2.codclass /* filtre sur les dates : */&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comdos d&lt;BR /&gt; ON d.cdos = c2.cdos AND d.nred = 'BGFI' AND e.datcpt between d.ddex and d.dfex&lt;BR /&gt;&lt;BR /&gt; WHERE c.cdos = '01'&lt;BR /&gt; AND c.numpere = 'MAIN'&lt;BR /&gt; AND c.ctab = '20105'&lt;BR /&gt; AND c.codclass = '2'&lt;BR /&gt;GROUP BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;BR /&gt;ORDER BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;/P&gt;&lt;P&gt;Cette requete me donne le bon resultat sous TOAD mais sous Qlikview, elle me retourne des erreurs du genre: Voivi l'erreur:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Champ non trouvé - &amp;lt;Classe&amp;gt;&lt;BR /&gt;SQL SELECT c.nomredclass as Classe, c1.nomredclass as Sous_Classe1,&lt;BR /&gt; c2.nomredclass as Sous_Classe2, SUM (e.cpt_mtdb) as mount&lt;BR /&gt; FROM comclass c&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c1&lt;BR /&gt; ON c1.cdos = c.cdos AND c1.numpere = c.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c2&lt;BR /&gt; ON c2.cdos = c1.cdos AND c2.numpere = c1.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comecrgen e&lt;BR /&gt; ON e.cdos = c2.cdos AND SUBSTR (e.numcpt, 0, 3) = c2.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comdos d&lt;BR /&gt; ON d.cdos = c2.cdos AND d.nred = 'BGFI' AND e.datcpt between d.ddex and d.dfex&lt;BR /&gt;&lt;BR /&gt; WHERE c.cdos = '01'&lt;BR /&gt; AND c.numpere = 'MAIN'&lt;BR /&gt; AND c.ctab = '20105'&lt;BR /&gt; AND c.codclass = '2'&lt;BR /&gt;GROUP BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;BR /&gt;ORDER BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;/P&gt;&lt;P&gt;Merci pour votre réaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Aug 2010 09:21:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-17T09:21:10Z</dc:date>
    <item>
      <title>Problème urgent SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163538#M36610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bonjour la communauté&lt;/P&gt;&lt;P&gt;Je suis vraiment tres bizarre ces derniers jours. J'ecris mes requetes, elles fonctionnent bien sous TOD FOR ORACLE. Mais quand je les importe dans Qlikview, c'est la vrai ***. Ca ne marche jamais.&lt;/P&gt;&lt;P&gt;Exemple:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SELECT c.nomredclass libpere, c1.nomredclass libfils1,&lt;BR /&gt; c2.nomredclass libfils2, SUM (e.cpt_mtdb)&lt;BR /&gt; FROM comclass c&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c1&lt;BR /&gt; ON c1.cdos = c.cdos AND c1.numpere = c.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c2&lt;BR /&gt; ON c2.cdos = c1.cdos AND c2.numpere = c1.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comecrgen e&lt;BR /&gt; ON e.cdos = c2.cdos AND SUBSTR (e.numcpt, 0, 3) = c2.codclass /* filtre sur les dates : */&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comdos d&lt;BR /&gt; ON d.cdos = c2.cdos AND d.nred = 'BGFI' AND e.datcpt between d.ddex and d.dfex&lt;BR /&gt;&lt;BR /&gt; WHERE c.cdos = '01'&lt;BR /&gt; AND c.numpere = 'MAIN'&lt;BR /&gt; AND c.ctab = '20105'&lt;BR /&gt; AND c.codclass = '2'&lt;BR /&gt;GROUP BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;BR /&gt;ORDER BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;/P&gt;&lt;P&gt;Cette requete me donne le bon resultat sous TOAD mais sous Qlikview, elle me retourne des erreurs du genre: Voivi l'erreur:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Champ non trouvé - &amp;lt;Classe&amp;gt;&lt;BR /&gt;SQL SELECT c.nomredclass as Classe, c1.nomredclass as Sous_Classe1,&lt;BR /&gt; c2.nomredclass as Sous_Classe2, SUM (e.cpt_mtdb) as mount&lt;BR /&gt; FROM comclass c&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c1&lt;BR /&gt; ON c1.cdos = c.cdos AND c1.numpere = c.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c2&lt;BR /&gt; ON c2.cdos = c1.cdos AND c2.numpere = c1.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comecrgen e&lt;BR /&gt; ON e.cdos = c2.cdos AND SUBSTR (e.numcpt, 0, 3) = c2.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comdos d&lt;BR /&gt; ON d.cdos = c2.cdos AND d.nred = 'BGFI' AND e.datcpt between d.ddex and d.dfex&lt;BR /&gt;&lt;BR /&gt; WHERE c.cdos = '01'&lt;BR /&gt; AND c.numpere = 'MAIN'&lt;BR /&gt; AND c.ctab = '20105'&lt;BR /&gt; AND c.codclass = '2'&lt;BR /&gt;GROUP BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;BR /&gt;ORDER BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;/P&gt;&lt;P&gt;Merci pour votre réaction&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 09:21:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163538#M36610</guid>
      <dc:creator />
      <dc:date>2010-08-17T09:21:10Z</dc:date>
    </item>
    <item>
      <title>Problème urgent SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163539#M36611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please post in English?&lt;/P&gt;&lt;P&gt;-Haneesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 10:10:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163539#M36611</guid>
      <dc:creator />
      <dc:date>2010-08-17T10:10:38Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Problème urgent SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163540#M36612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community&lt;BR /&gt;&lt;BR /&gt;I am really very strange in recent days. I write my applications, they work well under DOT FOR ORACLE. But when I import them into Qlikview is the true difficulty. It never works.&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SELECT c.nomredclass libpere, c1.nomredclass libfils1,&lt;BR /&gt; c2.nomredclass libfils2, SUM (e.cpt_mtdb)&lt;BR /&gt; FROM comclass c&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c1&lt;BR /&gt; ON c1.cdos = c.cdos AND c1.numpere = c.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c2&lt;BR /&gt; ON c2.cdos = c1.cdos AND c2.numpere = c1.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comecrgen e&lt;BR /&gt; ON e.cdos = c2.cdos AND SUBSTR (e.numcpt, 0, 3) = c2.codclass /* filtre sur les dates : */&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comdos d&lt;BR /&gt; ON d.cdos = c2.cdos AND d.nred = 'BGFI' AND e.datcpt between d.ddex and d.dfex&lt;BR /&gt;&lt;BR /&gt; WHERE c.cdos = '01'&lt;BR /&gt; AND c.numpere = 'MAIN'&lt;BR /&gt; AND c.ctab = '20105'&lt;BR /&gt; AND c.codclass = '2'&lt;BR /&gt;GROUP BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;BR /&gt;ORDER BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;/P&gt;&lt;P&gt;This query gives me good result in TOAD but under Qlikview, she returns errors like: voive the error:&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Champ non trouvé - &amp;lt;Classe&amp;gt;&lt;BR /&gt;SQL SELECT c.nomredclass as Classe, c1.nomredclass as Sous_Classe1,&lt;BR /&gt; c2.nomredclass as Sous_Classe2, SUM (e.cpt_mtdb) as mount&lt;BR /&gt; FROM comclass c&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c1&lt;BR /&gt; ON c1.cdos = c.cdos AND c1.numpere = c.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN comclass c2&lt;BR /&gt; ON c2.cdos = c1.cdos AND c2.numpere = c1.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comecrgen e&lt;BR /&gt; ON e.cdos = c2.cdos AND SUBSTR (e.numcpt, 0, 3) = c2.codclass&lt;BR /&gt;&lt;BR /&gt; LEFT JOIN deltaerp.comdos d&lt;BR /&gt; ON d.cdos = c2.cdos AND d.nred = 'BGFI' AND e.datcpt between d.ddex and d.dfex&lt;BR /&gt;&lt;BR /&gt; WHERE c.cdos = '01'&lt;BR /&gt; AND c.numpere = 'MAIN'&lt;BR /&gt; AND c.ctab = '20105'&lt;BR /&gt; AND c.codclass = '2'&lt;BR /&gt;GROUP BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;BR /&gt;ORDER BY c.nomredclass,&lt;BR /&gt; c1.nomredclass,&lt;BR /&gt; c2.nomredclass&lt;/P&gt;&lt;P style="font-weight: bold"&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 10:28:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163540#M36612</guid>
      <dc:creator />
      <dc:date>2010-08-17T10:28:31Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Problème urgent SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163541#M36613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Pls to look ...&lt;/P&gt;&lt;P&gt;&lt;A href="http://community.qlik.com/cfs-file.ashx/__key/CommunityServer.Discussions.Components.Files/11/1667.select-joins.bmp"&gt;&lt;IMG alt="" border="0" src="http://community.qlik.com/resized-image.ashx/__size/550x0/__key/CommunityServer.Discussions.Components.Files/11/1667.select-joins.bmp" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 10:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163541#M36613</guid>
      <dc:creator>llauses243</dc:creator>
      <dc:date>2010-08-17T10:44:38Z</dc:date>
    </item>
    <item>
      <title>Re. :Re: Re. :Re: Problème urgent SQL</title>
      <link>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163542#M36614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The error message is the same. Always&lt;/P&gt;&lt;P style="font-weight: bold"&gt;Field not found - &amp;lt;Classe&amp;gt;&lt;/P&gt;&lt;P&gt;Thnks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Aug 2010 11:34:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Probl%C3%A8me-urgent-SQL/m-p/163542#M36614</guid>
      <dc:creator />
      <dc:date>2010-08-17T11:34:34Z</dc:date>
    </item>
  </channel>
</rss>

