<?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: ERROR with MySQL: The value '32805' could not be converted to type integer(2-bytes) in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871462#M71920</link>
    <description>&lt;P&gt;Did you try it without the where-clause? The occurring error may not have a relation to the date-field else any other field may have a conflict between the stored data and their data-type and how the driver tries to handle it.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 15 Dec 2021 14:12:25 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2021-12-15T14:12:25Z</dc:date>
    <item>
      <title>ERROR with MySQL: The value '32805' could not be converted to type integer(2-bytes)</title>
      <link>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1869100#M71759</link>
      <description>&lt;P&gt;&amp;nbsp;I want to execute a Query in MySQL filtering by date.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;SQL SELECT *
FROM
`my_database`.`my_table` 
WHERE
date &amp;gt;= '2021-12-08'
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But I get this error:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ERROR: The value '32805' could not be converted to type integer(2-bytes)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This query works if I run it directly in our MySQL-Database, it works if I run it on QlikView and it works on any other table executed from Qlik Sense. But it doesn't work on this specific table executing from Qlik Sense.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;What can be the reason for this?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Info: Field "date" is of type "date".&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1869100#M71759</guid>
      <dc:creator>Kellerassel</dc:creator>
      <dc:date>2024-11-15T23:25:41Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with MySQL: The value '32805' could not be converted to type integer(2-bytes)</title>
      <link>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871462#M71920</link>
      <description>&lt;P&gt;Did you try it without the where-clause? The occurring error may not have a relation to the date-field else any other field may have a conflict between the stored data and their data-type and how the driver tries to handle it.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Dec 2021 14:12:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871462#M71920</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-12-15T14:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with MySQL: The value '32805' could not be converted to type integer(2-bytes)</title>
      <link>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871880#M71944</link>
      <description>&lt;P&gt;It works without the 'Where'-clause.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Turned out, that the error occurs only when I included a specific column (let's call it "ID", type smallint(5) ) in the selection AND filtered by date. If I filtered by date but excluded ID it worked, if I included ID but didn't filter by date it worked also. But together, then I get the above error.&lt;BR /&gt;&lt;BR /&gt;The solution was to multiply ID by 1 inside the SELECT statement. Then it suddenly worked.&lt;BR /&gt;&lt;BR /&gt;It's not really a solution, more a workaround.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Maybe you know what's up with that.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 09:17:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871880#M71944</guid>
      <dc:creator>Kellerassel</dc:creator>
      <dc:date>2021-12-16T09:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: ERROR with MySQL: The value '32805' could not be converted to type integer(2-bytes)</title>
      <link>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871917#M71948</link>
      <description>&lt;P&gt;I think your multiplying means a conversion into another data-type so that the driver doesn't handle it anymore as smallint. Your used driver may not recognize this data-type and/or interpreting it differently in any way. Therefore you may look if this driver could be configured in any way or maybe there are alternativ drivers available.&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 16 Dec 2021 09:59:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/ERROR-with-MySQL-The-value-32805-could-not-be-converted-to-type/m-p/1871917#M71948</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2021-12-16T09:59:12Z</dc:date>
    </item>
  </channel>
</rss>

