<?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 Using IsNum in SQL SELECT in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582062#M598110</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;When I run my script I have an error in the following lines in particular:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Table_Cus&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE&amp;nbsp;SUBSTRING(NUM_CUS,1,1)='S' AND ISNUMERIC(SUBSTRING(NUM_CUS,2,LEN(NUM_CUS)-1));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In attached file, I screened the detail of my error.&lt;/P&gt;&lt;P&gt;Please could you help me to identify what's wrong in my where clause.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12330iEF26B7871E193608/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 03:32:09 GMT</pubDate>
    <dc:creator>Black_Hole</dc:creator>
    <dc:date>2024-11-16T03:32:09Z</dc:date>
    <item>
      <title>Using IsNum in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582062#M598110</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;When I run my script I have an error in the following lines in particular:&lt;/P&gt;&lt;P&gt;SQL SELECT *&lt;/P&gt;&lt;P&gt;FROM Table_Cus&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE&amp;nbsp;SUBSTRING(NUM_CUS,1,1)='S' AND ISNUMERIC(SUBSTRING(NUM_CUS,2,LEN(NUM_CUS)-1));&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;In attached file, I screened the detail of my error.&lt;/P&gt;&lt;P&gt;Please could you help me to identify what's wrong in my where clause.&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/12330iEF26B7871E193608/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582062#M598110</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2024-11-16T03:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Using IsNum in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582064#M598111</link>
      <description>&lt;P&gt;Can i convert this to Qlik, If so - Here u go?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Load * Where Mid(NUM_CUS,1,1)='S' AND ISNUM(Mid(NUM_CUS,2,LEN(NUM_CUS)-1));&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;SQL SELECT * FROM Table_Cus&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 09:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582064#M598111</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2019-05-20T09:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Using IsNum in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582069#M598112</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;in the error message I see, that you're using a DB2 database. I've made a search on "Db2 for i SQL reference" and it seems there is no "Isnumeric" function.&lt;/P&gt;&lt;P&gt;On "&lt;A href="http://www.experts-exchange.com" target="_blank"&gt;www.experts-exchange.com&lt;/A&gt;" I found the following solution, maybe this will help you:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;you can use the translate function and translate each numeric character to blank,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;then use trim and check if you get the empty string&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;for example&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;select ....&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;from&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;where rtrim(ltrim(translate(your_string,' ','1234567890'))) = ''&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 09:25:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582069#M598112</guid>
      <dc:creator>peterwh</dc:creator>
      <dc:date>2019-05-20T09:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using IsNum in SQL SELECT</title>
      <link>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582083#M598113</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22008"&gt;@peterwh&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you both for your help.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/5533"&gt;@Anil_Babu_Samineni&lt;/a&gt;&amp;nbsp;:&amp;nbsp; I try it and it's run successfully.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22008"&gt;@peterwh&lt;/a&gt;&amp;nbsp;:&amp;nbsp; I understand why&amp;nbsp; sometimes there are functions which are not identified in my QVW. I will consider the connection when I will use the functions implemented in QVW.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2019 09:55:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-IsNum-in-SQL-SELECT/m-p/1582083#M598113</guid>
      <dc:creator>Black_Hole</dc:creator>
      <dc:date>2019-05-20T09:55:47Z</dc:date>
    </item>
  </channel>
</rss>

