<?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: You have an error in your SQL syntax in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242891#M29569</link>
    <description>Lets try to separate potential database setup and access issues from product issues. Please try running the query:&lt;BR /&gt;SELECT * FROM `tbi`.`customer` WHERE  (`gender` = '2');&lt;BR /&gt;from the MySQL workbench - outside of the DQ studio and see if you get results.</description>
    <pubDate>Tue, 16 Apr 2013 14:58:59 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-04-16T14:58:59Z</dc:date>
    <item>
      <title>You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242885#M29563</link>
      <description>&lt;P&gt;I setup the mysql sample database tbi in order to run the tutorial examples. When I attempt to run a select against the Customer table (SELECT * FROM `tbi`.`customer` WHERE (`gender` = '2')) I get an error "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=100' at line 1". I tried removing the limit feature and received a similar error. Since this is related to the online tutorial are you aware of a MySQL patch that I need to apply?&lt;BR /&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2013 18:38:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242885#M29563</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-04-09T18:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242886#M29564</link>
      <description>Hi jclose,&lt;BR /&gt;which version of MySQL are you using?</description>
      <pubDate>Wed, 10 Apr 2013 09:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242886#M29564</guid>
      <dc:creator>Sebastiao_Qlik</dc:creator>
      <dc:date>2013-04-10T09:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242887#M29565</link>
      <description>The MySQL version jclose and I are using is 5.2.47.</description>
      <pubDate>Wed, 10 Apr 2013 20:42:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242887#M29565</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-04-10T20:42:51Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242888#M29566</link>
      <description>Confirmed 5.2.47 - latest version - installed Monday from the website.</description>
      <pubDate>Thu, 11 Apr 2013 17:29:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242888#M29566</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-04-11T17:29:24Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242889#M29567</link>
      <description>Did you run an anlaysis, or you were runing the sql query directly in sql explorer query editor? 
&lt;BR /&gt;What is your the sql query string looks like?</description>
      <pubDate>Fri, 12 Apr 2013 10:58:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242889#M29567</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-12T10:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242890#M29568</link>
      <description>I ran an analysis per the tutorial then right clicked on one of the results and selected 'View Rows'. The SQL editor window popped up with the generated SQL statement, I ran the query and then the error appeared. SELECT * FROM `tbi`.`customer` WHERE (`gender` = '2'). 
&lt;BR /&gt;I tried it again with a simple select * and got the same error. I tried removing the select Max records at top and got a different but very similar error. 
&lt;BR /&gt;I'm running Tutorial 58 and the GenderAna analysis.</description>
      <pubDate>Fri, 12 Apr 2013 14:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242890#M29568</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-04-12T14:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242891#M29569</link>
      <description>Lets try to separate potential database setup and access issues from product issues. Please try running the query:&lt;BR /&gt;SELECT * FROM `tbi`.`customer` WHERE  (`gender` = '2');&lt;BR /&gt;from the MySQL workbench - outside of the DQ studio and see if you get results.</description>
      <pubDate>Tue, 16 Apr 2013 14:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242891#M29569</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-16T14:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: You have an error in your SQL syntax</title>
      <link>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242892#M29570</link>
      <description>This turns out to be a MySQL version issue. If use are using MySQL v5.6, then when you right click -&amp;gt; Preview Table in the DB metadata for any MySQL table, you will see an error. 
&lt;BR /&gt;When using the MySQL database, the command passed to MySQL from Talend profiling queries includes a row limit option with the following syntax: 
&lt;BR /&gt;set OPTION SQL_SELECT_LIMIT = 100; -- (note: doesn?t have to be 100, can be any number) 
&lt;BR /&gt;This command works in MySQL versions up through MySQL v5.5. 
&lt;BR /&gt;In MySQL v5.6, the OPTION keyword is removed, and the correct command is: 
&lt;BR /&gt;set SQL_SELECT_LIMIT = 100; 
&lt;BR /&gt;So the Talend profiling query gives a MySQL database error due to the inclusion of the 'OPTION' keyword when run against v5.6. 
&lt;BR /&gt;The workaround is to uncheck the Limit Rows checkbox in the generated query. The other workaround is to use MySQL v5.5. 
&lt;BR /&gt;The JIRA for this: 
&lt;A href="https://jira.talendforge.org/browse/TDQ-7171" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TDQ-7171&lt;/A&gt;</description>
      <pubDate>Thu, 02 May 2013 15:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/You-have-an-error-in-your-SQL-syntax/m-p/2242892#M29570</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-05-02T15:28:04Z</dc:date>
    </item>
  </channel>
</rss>

