<?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 issue with where clause in mysql db component when comparing context variable with file name in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/issue-with-where-clause-in-mysql-db-component-when-comparing/m-p/2340774#M108778</link>
    <description>&lt;P&gt;Hi There I am not able to figure out the reason behind the error in the place of FILENAME comparison with a context variable, I need to compare a filename stored in a context variable against the query with some other join values.&lt;/P&gt;&lt;P&gt;Unfortunately getting below error &lt;/P&gt;&lt;P&gt;Error :-&lt;/P&gt;&lt;P&gt;java.sql.SQLSyntaxErrorException: Unknown column&amp;nbsp;'XYZDATA_*****_********_****Test.dat' in 'where clause'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know why this error occurs and how to solve this issue or what changes needed in the query to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 22:13:50 GMT</pubDate>
    <dc:creator>Sudhee_Maximus</dc:creator>
    <dc:date>2024-11-15T22:13:50Z</dc:date>
    <item>
      <title>issue with where clause in mysql db component when comparing context variable with file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-where-clause-in-mysql-db-component-when-comparing/m-p/2340774#M108778</link>
      <description>&lt;P&gt;Hi There I am not able to figure out the reason behind the error in the place of FILENAME comparison with a context variable, I need to compare a filename stored in a context variable against the query with some other join values.&lt;/P&gt;&lt;P&gt;Unfortunately getting below error &lt;/P&gt;&lt;P&gt;Error :-&lt;/P&gt;&lt;P&gt;java.sql.SQLSyntaxErrorException: Unknown column&amp;nbsp;'XYZDATA_*****_********_****Test.dat' in 'where clause'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to know why this error occurs and how to solve this issue or what changes needed in the query to resolve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 22:13:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-where-clause-in-mysql-db-component-when-comparing/m-p/2340774#M108778</guid>
      <dc:creator>Sudhee_Maximus</dc:creator>
      <dc:date>2024-11-15T22:13:50Z</dc:date>
    </item>
    <item>
      <title>Re: issue with where clause in mysql db component when comparing context variable with file name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/issue-with-where-clause-in-mysql-db-component-when-comparing/m-p/2340775#M108779</link>
      <description>&lt;P&gt;try to add single quotes to the value, eg:&lt;/P&gt;&lt;P&gt;"...where filename='"+context.filename+"'"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jan 2023 07:54:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/issue-with-where-clause-in-mysql-db-component-when-comparing/m-p/2340775#M108779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-01-03T07:54:29Z</dc:date>
    </item>
  </channel>
</rss>

