<?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 tAccessInput.. MSAccess table names as parameter in Talend Data Catalog</title>
    <link>https://community.qlik.com/t5/Talend-Data-Catalog/tAccessInput-MSAccess-table-names-as-parameter/m-p/2340908#M1982</link>
    <description>&lt;P&gt;&lt;B&gt;Hi,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;I have an MS Access database with many tables having all names in this format : products_stock_on_01/31/2020&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;fields are :&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;product_code&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;product_name&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;product_category&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;stock_quantity&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Each month-end a new table is generated on this database.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;With a simple Talend Job, an tAccessInput component and obviously a tMap.. i want to load all tables to one SQL Server table created in the same format with an additional field "Stock_date"&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;How can i do please ? I don't know how to make a loop on each table with her name in parameter for the tAccessInput compoent.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Thank you&lt;/B&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:43:05 GMT</pubDate>
    <dc:creator>Rachidoo</dc:creator>
    <dc:date>2024-11-16T01:43:05Z</dc:date>
    <item>
      <title>tAccessInput.. MSAccess table names as parameter</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/tAccessInput-MSAccess-table-names-as-parameter/m-p/2340908#M1982</link>
      <description>&lt;P&gt;&lt;B&gt;Hi,&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;I have an MS Access database with many tables having all names in this format : products_stock_on_01/31/2020&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;fields are :&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;product_code&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;product_name&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;product_category&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;stock_quantity&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Each month-end a new table is generated on this database.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;With a simple Talend Job, an tAccessInput component and obviously a tMap.. i want to load all tables to one SQL Server table created in the same format with an additional field "Stock_date"&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;How can i do please ? I don't know how to make a loop on each table with her name in parameter for the tAccessInput compoent.&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;B&gt;Thank you&lt;/B&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:43:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/tAccessInput-MSAccess-table-names-as-parameter/m-p/2340908#M1982</guid>
      <dc:creator>Rachidoo</dc:creator>
      <dc:date>2024-11-16T01:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: tAccessInput.. MSAccess table names as parameter</title>
      <link>https://community.qlik.com/t5/Talend-Data-Catalog/tAccessInput-MSAccess-table-names-as-parameter/m-p/2340909#M1983</link>
      <description>&lt;P&gt;Hi Rachidoo,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first you have to get list of interesting tables, by querying system tabels f.g.:&lt;/P&gt;&lt;P&gt;select &lt;/P&gt;&lt;P&gt;       MSysObjects.name&lt;/P&gt;&lt;P&gt;from&lt;/P&gt;&lt;P&gt;       MSysObjects&lt;/P&gt;&lt;P&gt;where&lt;/P&gt;&lt;P&gt;   MSysObjects.name like 'products_stock_on_%'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paste this query in your first tAccessInput. &lt;/P&gt;&lt;P&gt;Then you have to iterate through your input, by using tFlowToIterate.&lt;/P&gt;&lt;P&gt;Then, use variable from tFlowToIterate to parametrize your table name in input query.&lt;/P&gt;&lt;P&gt;Save your fetched data into target database table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Your job should looks like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tAccessInput&amp;gt;row&amp;gt;tFlowToIterate&amp;gt;iterate&amp;gt;tAccessInput&amp;gt;row&amp;gt;tOracleOutput&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 19:50:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Data-Catalog/tAccessInput-MSAccess-table-names-as-parameter/m-p/2340909#M1983</guid>
      <dc:creator>pakapi_</dc:creator>
      <dc:date>2020-10-07T19:50:11Z</dc:date>
    </item>
  </channel>
</rss>

