<?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: Invalid SQL statement or JDBC escape in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Invalid-SQL-statement-or-JDBC-escape/m-p/2375120#M137601</link>
    <description>&lt;P&gt;The problem isn't with the global variable it is that your SQL statement is incomplete. You need to wrap the string in single quote &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...where lower(b.[eme_email]) in (&lt;B&gt;'&lt;/B&gt;"+(String)globalMap.get("service_email)+"&lt;B&gt;'&lt;/B&gt;)"&lt;/P&gt;</description>
    <pubDate>Thu, 18 Nov 2021 09:39:26 GMT</pubDate>
    <dc:creator>MattE</dc:creator>
    <dc:date>2021-11-18T09:39:26Z</dc:date>
    <item>
      <title>Invalid SQL statement or JDBC escape</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-SQL-statement-or-JDBC-escape/m-p/2375119#M137600</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope you're doing well,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having an error in reading a string global map variable in a query clause &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get this error every time i ran my job "tdbInput 10 Invalid SQL statement or JDBC escape, terminating ''' not found"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000L0oFUAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155333iE46B20801ED9A127/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000L0oFUAAZ.png" alt="0695b00000L0oFUAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000L0oGIAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157890iCD049CE1BCA6781B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000L0oGIAAZ.png" alt="0695b00000L0oGIAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;here i get my string, than i just use a "globalMap.put("SERVICE_EMAIL", input_row.SERVICE_EMAIL);" in "tJavaRow"&lt;/P&gt;&lt;P&gt;Than i try to use it in another tdbinput (Microsoft Sql Server)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0695b00000L0oHQAAZ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136632i76E35FE447839EB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0695b00000L0oHQAAZ.png" alt="0695b00000L0oHQAAZ.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;And i get this error&lt;B&gt; &lt;/B&gt;&lt;B&gt;"tdbInput 10 Invalid SQL statement or JDBC escape, terminating ''' not found"&lt;/B&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;Have anyone face it before ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll appreciate your help, thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 08:51:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-SQL-statement-or-JDBC-escape/m-p/2375119#M137600</guid>
      <dc:creator>HJlassi1619437866</dc:creator>
      <dc:date>2021-11-18T08:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Invalid SQL statement or JDBC escape</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Invalid-SQL-statement-or-JDBC-escape/m-p/2375120#M137601</link>
      <description>&lt;P&gt;The problem isn't with the global variable it is that your SQL statement is incomplete. You need to wrap the string in single quote &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"...where lower(b.[eme_email]) in (&lt;B&gt;'&lt;/B&gt;"+(String)globalMap.get("service_email)+"&lt;B&gt;'&lt;/B&gt;)"&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 09:39:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Invalid-SQL-statement-or-JDBC-escape/m-p/2375120#M137601</guid>
      <dc:creator>MattE</dc:creator>
      <dc:date>2021-11-18T09:39:26Z</dc:date>
    </item>
  </channel>
</rss>

