<?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 Re: Where... IN returning an error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451168#M694916</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sokkorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just tested it and it works. Although I've sorted it out with an AND which is working as other conditions have to be met, it will be very useful in other scripts I need to set up for quering data in Jade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;fcrysss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 May 2013 01:28:58 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-05-23T01:28:58Z</dc:date>
    <item>
      <title>Where... IN returning an error</title>
      <link>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451164#M694912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help with the reason why I'm getting the error message:&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;SQL##f - SqlState: 37000, ErrorCode: 8258, ErrorMsg: [Jade Software Corporation][JADE ODBC Server] Expecting: 'comparison operator'; found 'IN' at 60&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM HRLeaveRequest&lt;/P&gt;&lt;P&gt;WHERE myHRLeaveRequestStatus IN('02162.0000000600','02162.0000000601','02162.0000000604')&lt;/P&gt;&lt;P&gt;"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the following script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;LOAD&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;calculatedDays,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calculatedHours,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dateFrom,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dateTo,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enteredLeave,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; approvalLastAction,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myHRPerson,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myHRTransTypePay as TransType,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cancelReason,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myHRLeaveRequestStatus&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt;; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;SQL SELECT *&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;FROM Table_Name&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;WHERE myHRLeaveRequestStatus IN('02162.0000000600','02162.0000000601','02162.0000000604'); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 May 2013 23:52:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451164#M694912</guid>
      <dc:creator />
      <dc:date>2013-05-12T23:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Where... IN returning an error</title>
      <link>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451165#M694913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Make sure there's a space between IN and ('02162.000.... &lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;If that does not work check that Jade (and/or its odbc driver) supports the &lt;STRONG&gt;&lt;EM&gt;where in ...&lt;/EM&gt;&lt;/STRONG&gt; syntax&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 May 2013 07:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451165#M694913</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-05-13T07:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Where... IN returning an error</title>
      <link>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451166#M694914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think it is a problem with Jade not accepting the where in... syntax.&lt;/P&gt;&lt;P&gt;I've just used a AND instead.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cristina&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 01:08:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451166#M694914</guid>
      <dc:creator />
      <dc:date>2013-05-23T01:08:39Z</dc:date>
    </item>
    <item>
      <title>Re: Where... IN returning an error</title>
      <link>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451167#M694915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cristina,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you try this one yet:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calculatedDays,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; calculatedHours,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dateFrom,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dateTo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; enteredLeave,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; approvalLastAction,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myHRPerson,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myHRTransTypePay as TransType,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cancelReason,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myHRLeaveRequestStatus &lt;STRONG&gt;Where Match(myHRLeaveRequestStatus,'02162.0000000600','02162.0000000601','02162.0000000604');&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Table_Name;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 01:15:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451167#M694915</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-05-23T01:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Where... IN returning an error</title>
      <link>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451168#M694916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Sokkorn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have just tested it and it works. Although I've sorted it out with an AND which is working as other conditions have to be met, it will be very useful in other scripts I need to set up for quering data in Jade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &lt;/P&gt;&lt;P&gt;fcrysss&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 May 2013 01:28:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Where-IN-returning-an-error/m-p/451168#M694916</guid>
      <dc:creator />
      <dc:date>2013-05-23T01:28:58Z</dc:date>
    </item>
  </channel>
</rss>

