<?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: How to input random table name in tDBOutput &amp;quot;Table&amp;quot; field? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288177#M61689</link>
    <description>&lt;P&gt;Yes, I realized that later. Thank you for all your help @MADHUSUDHANA kolli​&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 27 Aug 2020 19:51:26 GMT</pubDate>
    <dc:creator>jbhatt1810</dc:creator>
    <dc:date>2020-08-27T19:51:26Z</dc:date>
    <item>
      <title>How to input random table name in tDBOutput "Table" field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288173#M61685</link>
      <description>&lt;P&gt;I have a requirement to create table with random name. How do I achieve this in talend where "Table" field will be able to generate/take random table names? For example, every time job runs,  it should create table name like "Auto1". Next time it should be "Auto2".. If I am coding then usually create incremental variable and simply concat "Auto" string with that variable using for loop. How do I achieve this in Talend? See attached job screenshot. &lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288173#M61685</guid>
      <dc:creator>jbhatt1810</dc:creator>
      <dc:date>2024-11-16T01:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to input random table name in tDBOutput "Table" field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288174#M61686</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Below example shows how to compose dynamic table name with current_date .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009RHcTAAW.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/127819i5683B370F4CF506C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009RHcTAAW.jpg" alt="0693p000009RHcTAAW.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tJava:: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;globalMap.put("current_date",TalendDate.formatDate("yyyyMMdd", TalendDate.getCurrentDate()));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.out.println("current_date=" + globalMap.get("current_date"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;tDBOutput :: &lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009RHd7AAG.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156685i2BF290A93174686B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009RHd7AAG.jpg" alt="0693p000009RHd7AAG.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to populate only sequence numbers probably you may need to create sequence in mysql and get latest value from it and append it to global variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Madhu Kolli&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 12:55:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288174#M61686</guid>
      <dc:creator>madhukolli2003</dc:creator>
      <dc:date>2020-08-26T12:55:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to input random table name in tDBOutput "Table" field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288175#M61687</link>
      <description>&lt;P&gt;Thank you for your reply. I updated my job per suggestion. It worked fine for few rows parsing and inserting into DB table and then in between it stopped throwing an error mentioning that table not found. Do you know why? See attached updated Job and Log. I checked the backend and mentioned table does exist but is empty with no records. Why would it throw an error for no table found though?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;For input string: "Account #"&lt;/P&gt;&lt;P&gt;For input string: "IPP"&lt;/P&gt;&lt;P&gt;For input string: "Den Exclusion"&lt;/P&gt;&lt;P&gt;For input string: "Num"&lt;/P&gt;&lt;P&gt;Table 'valueset.qrda1_auto08262020150159908' doesn't exist&lt;/P&gt;&lt;P&gt;Table 'valueset.qrda1_auto08262020150159908' doesn't exist&lt;/P&gt;&lt;P&gt;For input string: "Denominator Exception"&lt;/P&gt;&lt;P&gt;Table 'valueset.qrda1_auto08262020150159908' doesn't exist&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p000009RLxzAAG.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150743iDFE552AD2B4F6FAD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p000009RLxzAAG.png" alt="0693p000009RLxzAAG.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Aug 2020 19:09:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288175#M61687</guid>
      <dc:creator>jbhatt1810</dc:creator>
      <dc:date>2020-08-26T19:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to input random table name in tDBOutput "Table" field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288176#M61688</link>
      <description>&lt;P&gt;Hi @Janki Bhatt​&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Please assign date value to a variable and call that one in the tDBOutput component .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tjava -&amp;gt; tfileinputExcel -&amp;gt; tFilterRow - &amp;gt; tDBOutput&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tjava::&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;globalMap.put("current_date",TalendDate.getDate("MMDDCCYYHHmmssS"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;System.out.println("current_date=" + globalMap.get("current_date"));&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tDBOutput ::&lt;/P&gt;&lt;P&gt;Table = "QRDA1_Auto_"+globalMap.get("current_date")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Madhu Kolli&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 17:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288176#M61688</guid>
      <dc:creator>madhukolli2003</dc:creator>
      <dc:date>2020-08-27T17:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to input random table name in tDBOutput "Table" field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288177#M61689</link>
      <description>&lt;P&gt;Yes, I realized that later. Thank you for all your help @MADHUSUDHANA kolli​&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 19:51:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288177#M61689</guid>
      <dc:creator>jbhatt1810</dc:creator>
      <dc:date>2020-08-27T19:51:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to input random table name in tDBOutput "Table" field?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288178#M61690</link>
      <description>&lt;P&gt;You Welcome !&lt;/P&gt;</description>
      <pubDate>Thu, 27 Aug 2020 22:10:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-input-random-table-name-in-tDBOutput-quot-Table-quot/m-p/2288178#M61690</guid>
      <dc:creator>madhukolli2003</dc:creator>
      <dc:date>2020-08-27T22:10:24Z</dc:date>
    </item>
  </channel>
</rss>

