<?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 SV:SQL Select and Case in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SQL-Select-and-Case/m-p/181333#M47400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have no Oracle database at hand and have no idea what you are trying to do but I would try to use commas between your columns. Would also drop the "SQL" in the last "SQL select rownum ....."&lt;/P&gt;&lt;P&gt;/Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Jan 2011 13:38:12 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-24T13:38:12Z</dc:date>
    <item>
      <title>SQL Select and Case</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-and-Case/m-p/181332#M47399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can somebody help me with this? What am i doing wrong?&lt;/P&gt;&lt;P&gt;&lt;B&gt;Load&lt;/B&gt; *;&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;&lt;B&gt;SQL select&lt;/B&gt; mandt anbud typebudget idpost&lt;BR /&gt;case&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;When actor_type.rowno = 1 then 'VALIDCIR'&lt;BR /&gt;When actor_type.rowno = 2 then 'VALIDMNB'&lt;BR /&gt;When actor_type.rowno = 3 then 'VALIDDR'&lt;BR /&gt;When actor_type.rowno = 4 then 'VALIDIF'&lt;BR /&gt;When actor_type.rowno = 5 then 'VALIDTUT'&lt;BR /&gt;When actor_type.rowno = 6 then 'VALIDCB'&lt;BR /&gt;When actor_type.rowno = 7 then 'VALIDPR'&lt;BR /&gt;When actor_type.rowno = 8 then 'VALIDCOR'&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;End as actor_group&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;case&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;when actor_type.rowno = 1 then VALIDCIR&lt;BR /&gt;when actor_type.rowno = 2 then VALIDMNB&lt;BR /&gt;when actor_type.rowno = 3 then VALIDDR&lt;BR /&gt;when actor_type.rowno = 4 then VALIDIF&lt;BR /&gt;when actor_type.rowno = 5 then VALIDTUT&lt;BR /&gt;when actor_type.rowno = 6 then VALIDCB&lt;BR /&gt;when actor_type.rowno = 7 then VALIDPR&lt;BR /&gt;when actor_type.rowno = 8 then VALIDCOR&lt;BR /&gt;&lt;BR /&gt;end as validated&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;case&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;when actor_type.rowno = 1 then VALID_NAMECIR&lt;BR /&gt;when actor_type.rowno = 2 then VALID_NAMEMNB&lt;BR /&gt;when actor_type.rowno = 3 then VALID_NAMEDR&lt;BR /&gt;when actor_type.rowno = 4 then VALID_NAMEIF&lt;BR /&gt;when actor_type.rowno = 5 then VALID_NAMETUT&lt;BR /&gt;when actor_type.rowno = 6 then VALID_NAMECB&lt;BR /&gt;when actor_type.rowno = 7 then VALID_NAMEPR&lt;BR /&gt;when actor_type.rowno = 8 then VALID_NAMECOR&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;end as actor&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;case&lt;/P&gt;&lt;P style="line-height: normal; margin: 12pt 0cm 0pt;"&gt;when actor_type.rowno = 1 then VALID_DATECIR&lt;BR /&gt;when actor_type.rowno = 2 then VALID_DATEMNB&lt;BR /&gt;when actor_type.rowno = 3 then VALID_DATEDR&lt;BR /&gt;when actor_type.rowno = 4 then VALID_DATEIF&lt;BR /&gt;when actor_type.rowno = 5 then VALID_DATETUT&lt;BR /&gt;when actor_type.rowno = 6 then VALID_DATECB&lt;BR /&gt;when actor_type.rowno = 7 then VALID_DATEPR&lt;BR /&gt;when actor_type.rowno = 8 then VALID_DATECOR&lt;/P&gt;&lt;P style="line-height: normal; margin: 12pt 0cm 0pt;"&gt;end as validation_date&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;&lt;BR /&gt;case&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;when actor_type.rowno = 2 then COMMENT_DIR&lt;BR /&gt;when actor_type.rowno = 4 then COMMENT_IF&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;when actor_type.rowno = 5 then COMMENT_TUT&lt;BR /&gt;when actor_type.rowno = 6 then COMMENT_CAB&lt;BR /&gt;when actor_type.rowno = 7 then COMMENT_PAR&lt;BR /&gt;when actor_type.rowno = 8 then COMMENT_COR&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;end as motivation&lt;/P&gt;&lt;P&gt;case&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;when actor_type.rowno = 2 then COMMENT_DIR_VIEW&lt;BR /&gt;when actor_type.rowno = 4 then COMMENT_IF_VIEW&lt;BR /&gt;when actor_type.rowno = 5 then COMMENT_TUT_VIEW&lt;BR /&gt;when actor_type.rowno = 6 then COMMENT_CAB_VIEW&lt;BR /&gt;when actor_type.rowno = 7 then COMMENT_PAR_VIEW&lt;BR /&gt;when actor_type.rowno = 8 then COMMENT_COR_VIEW&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;end as motivation_visible&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;JUST_OFFICIEL_FR&lt;BR /&gt;JUST_OFFICIEL_NL&lt;BR /&gt;FICHE_STEP&lt;BR /&gt;FLAG_MCR&lt;BR /&gt;ERNAM&lt;BR /&gt;ERDAT&lt;BR /&gt;&lt;BR /&gt;&lt;B&gt;From&lt;/B&gt; ZELABBUDG,&lt;/P&gt;&lt;P style="line-height: normal; margin: 0cm 0cm 10pt; mso-margin-bottom-alt: auto;"&gt;(SQL select rownum rowno &lt;B&gt;from&lt;/B&gt; dual connect by level &amp;lt;= &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; as actor_type ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 12:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-and-Case/m-p/181332#M47399</guid>
      <dc:creator>timmy</dc:creator>
      <dc:date>2011-01-24T12:29:50Z</dc:date>
    </item>
    <item>
      <title>SV:SQL Select and Case</title>
      <link>https://community.qlik.com/t5/QlikView/SQL-Select-and-Case/m-p/181333#M47400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have no Oracle database at hand and have no idea what you are trying to do but I would try to use commas between your columns. Would also drop the "SQL" in the last "SQL select rownum ....."&lt;/P&gt;&lt;P&gt;/Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jan 2011 13:38:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SQL-Select-and-Case/m-p/181333#M47400</guid>
      <dc:creator />
      <dc:date>2011-01-24T13:38:12Z</dc:date>
    </item>
  </channel>
</rss>

