<?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: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267142#M46138</link>
    <description>&lt;P&gt;Sorry, I meant a schema DDL dump. The column is clearly there, but it could be defined in your DDL in a weird way&lt;/P&gt;</description>
    <pubDate>Fri, 22 Nov 2019 19:15:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-11-22T19:15:57Z</dc:date>
    <item>
      <title>Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267139#M46135</link>
      <description>&lt;P class="p1"&gt;Has anyone encountered invalid column name errors using the MSSQL component recently? I'm running into this error in my job:&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;Exception in component tMSSqlInput_1
java.sql.SQLException: Invalid column name 'Balance'.
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)
at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505)
at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427)&lt;/PRE&gt; 
&lt;P class="p1"&gt;Here's my current query:&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;"SELECT
SiteId,
Name,
Comments,
Contact,
ContactPhone,
InstallDate,
Address,
Email,
LogoPath,
TimeZone,
Logo,
Factor,
CustomerId,
Balance,
date_update
FROM
sites (nolock)"&lt;/PRE&gt; 
&lt;P&gt;I've tried using Talend Open Studio v7.1.1 and v7.2.1 and both are throwing the same error. From what I can tell, "Balance" or "date_update" are not reserved names in Java or MSSQL.&lt;/P&gt; 
&lt;P class="p3"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267139#M46135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267140#M46136</link>
      <description>&lt;P&gt;Can you show us your table schema?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 01:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267140#M46136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T01:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267141#M46137</link>
      <description>&lt;P&gt;Thanks for the quick response! I've included details about the MSSQL database table and the Talend schema below:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Database Schema" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8EI.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145031iE470C968253436D5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8EI.png" alt="0683p000009M8EI.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Database Schema&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend Schema" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8EN.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132888iE8776A464A28AAC4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8EN.png" alt="0683p000009M8EN.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Talend Schema&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 02:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267141#M46137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T02:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267142#M46138</link>
      <description>&lt;P&gt;Sorry, I meant a schema DDL dump. The column is clearly there, but it could be defined in your DDL in a weird way&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 19:15:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267142#M46138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-22T19:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267143#M46139</link>
      <description>&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;Gotcha. DDL below but nothing about the date_update column seems unusual.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;STRONG&gt;CREATE&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;TABLE&lt;/STRONG&gt;&lt;/SPAN&gt;&amp;nbsp;sites (&lt;/P&gt; 
&lt;P class="p2"&gt;&lt;SPAN class="s3"&gt;SiteId&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;STRONG&gt;IDENTITY&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;(&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;,&lt;/SPAN&gt;&lt;SPAN class="s5"&gt;1&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;)&lt;/SPAN&gt; &lt;STRONG&gt;NOT&lt;/STRONG&gt; &lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;SPAN class="s3"&gt;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;Name&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;Comments&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;Contact&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;ContactPhone&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;InstallDate&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;datetime&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;Address&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;Email&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;LogoPath&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;nvarchar&lt;/STRONG&gt;&lt;/SPAN&gt;(&lt;SPAN class="s5"&gt;50&lt;/SPAN&gt;) &lt;SPAN class="s1"&gt;&lt;STRONG&gt;COLLATE&lt;/STRONG&gt;&lt;/SPAN&gt; SQL_Latin1_General_CP1_CI_AS &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;TimeZone&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p3"&gt;&lt;SPAN class="s3"&gt;Logo&lt;/SPAN&gt; &lt;STRONG&gt;image&lt;/STRONG&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="s3"&gt;,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;Factor&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;CustomerId&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;Balance&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;int&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p1"&gt;date_update&amp;nbsp;&lt;SPAN class="s4"&gt;&lt;STRONG&gt;datetime&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN class="s1"&gt;&lt;STRONG&gt;NULL&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt; 
&lt;P class="p2"&gt;&lt;STRONG&gt;CONSTRAINT&lt;/STRONG&gt; &lt;SPAN class="s3"&gt;Sites_PK&lt;/SPAN&gt; &lt;STRONG&gt;PRIMARY&lt;/STRONG&gt; &lt;STRONG&gt;KEY&lt;/STRONG&gt; &lt;SPAN class="s3"&gt;(SiteId)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p4"&gt;&lt;SPAN class="s3"&gt;)&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p4"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p4"&gt;&lt;SPAN class="s3"&gt;In the meantime, I've tried using a CTE and/or aliasing the date_update column to a different string but I'm still running into the same error.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 00:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267143#M46139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-25T00:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267144#M46140</link>
      <description>&lt;P&gt;Does this still happen if you remove the (nolock) hint?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 08:36:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267144#M46140</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-25T08:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267145#M46141</link>
      <description>The column was clearly there, in the production environment. I'm a little ashamed to admit I was connected to a lower environment when encountering this "error". Thanks for your help!</description>
      <pubDate>Fri, 20 Mar 2020 02:53:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267145#M46141</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-20T02:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267146#M46142</link>
      <description>&lt;P&gt;Exception in component tDBInput_1 (Copy_Citi_POC)&lt;BR /&gt;java.sql.SQLException: Invalid column name 'ADDRESS'.&lt;BR /&gt;at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427)&lt;BR /&gt;at project_01.copy_citi_poc_0_1.Copy_Citi_POC.tFixedFlowInput_1Process(Copy_Citi_POC.java:966)&lt;BR /&gt;at project_01.copy_citi_poc_0_1.Copy_Citi_POC.runJobInTOS(Copy_Citi_POC.java:1904)&lt;BR /&gt;at project_01.copy_citi_poc_0_1.Copy_Citi_POC.main(Copy_Citi_POC.java:1754)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi, I'm having a similar issue, my DbInput query looks like this:&amp;nbsp;""SELECT STUFF((SELECT ', ' + column_name FROM information_schema.columns WHERE&lt;BR /&gt;table_name ="+((String)globalMap.get("DBTable"))+" and table_schema = 'SRC' order by ordinal_position FOR XML PATH('')),1,2,'') as col1""&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have two table names with the same schema in a fixed flow component which iterates over a global variable "DBTable" on tflowtoiterate. I can help you with my job if someone can confirm if they understood my problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks, in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 10:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267146#M46142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-07T10:34:17Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tMSSqlInput_1 java.sql.SQLException: Invalid column name</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267147#M46143</link>
      <description>&lt;P&gt;Exception in component tDBInput_1 (Copy_Citi_POC)&lt;BR /&gt;java.sql.SQLException: Invalid column name 'ADDRESS'.&lt;BR /&gt;at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:372)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2988)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2421)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.TdsCore.getMoreResults(TdsCore.java:671)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:505)&lt;BR /&gt;at net.sourceforge.jtds.jdbc.JtdsStatement.executeQuery(JtdsStatement.java:1427)&lt;BR /&gt;at project_01.copy_citi_poc_0_1.Copy_Citi_POC.tFixedFlowInput_1Process(Copy_Citi_POC.java:966)&lt;BR /&gt;at project_01.copy_citi_poc_0_1.Copy_Citi_POC.runJobInTOS(Copy_Citi_POC.java:1904)&lt;BR /&gt;at project_01.copy_citi_poc_0_1.Copy_Citi_POC.main(Copy_Citi_POC.java:1754)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Hi, I'm having a similar issue, my DbInput query looks like this:&amp;nbsp;""SELECT STUFF((SELECT ', ' + column_name FROM information_schema.columns WHERE&lt;BR /&gt;table_name ="+((String)globalMap.get("DBTable"))+" and table_schema = 'SRC' order by ordinal_position FOR XML PATH('')),1,2,'') as col1""&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have two table names with the same schema in a fixed flow component which iterates over a global variable "DBTable" on tflowtoiterate. I can help you with my job if someone can confirm if they understood my problem.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks, in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jul 2020 10:34:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tMSSqlInput-1-java-sql-SQLException/m-p/2267147#M46143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-07T10:34:17Z</dc:date>
    </item>
  </channel>
</rss>

