<?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 Context Variable in tMysqlOutput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Context-Variable-in-tMysqlOutput/m-p/2342050#M109953</link>
    <description>&lt;P&gt;Is it possible to use a Context Variable in a &lt;STRONG&gt;tMysqlOutput &lt;/STRONG&gt;component's "Table" field?&lt;BR /&gt;&lt;BR /&gt;Ctrl+Space seems to suggest so...&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFjl.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128645i519939CDC138B4D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFjl.jpg" alt="0683p000009MFjl.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;context.tableprefix&lt;/STRONG&gt;&amp;nbsp;is the context variable in question, the value of which I want to use to dynamically control the table name I am inserting data into on my MySQL DB.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFgQ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130869i5B102A9AD17854B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFgQ.jpg" alt="0683p000009MFgQ.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I have specified this in my&lt;STRONG&gt; tJavaRow&lt;/STRONG&gt; and asked it to print the variable to the run window, so I can check it is working - which it is.&lt;BR /&gt;It seems like it just doesn't get recognised in &lt;STRONG&gt;tMysqlRow&lt;/STRONG&gt; though, evident from the &lt;FONT color="#ff3333"&gt;Incorrect table name ""&lt;/FONT&gt; error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have had this method working with a &lt;STRONG&gt;tMysqlRow &lt;/STRONG&gt;component, but it runs too slowly (2000 rows/s)&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2016 09:51:57 GMT</pubDate>
    <dc:creator>cjj</dc:creator>
    <dc:date>2016-09-14T09:51:57Z</dc:date>
    <item>
      <title>Context Variable in tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-Variable-in-tMysqlOutput/m-p/2342050#M109953</link>
      <description>&lt;P&gt;Is it possible to use a Context Variable in a &lt;STRONG&gt;tMysqlOutput &lt;/STRONG&gt;component's "Table" field?&lt;BR /&gt;&lt;BR /&gt;Ctrl+Space seems to suggest so...&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFjl.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128645i519939CDC138B4D2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFjl.jpg" alt="0683p000009MFjl.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;context.tableprefix&lt;/STRONG&gt;&amp;nbsp;is the context variable in question, the value of which I want to use to dynamically control the table name I am inserting data into on my MySQL DB.&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MFgQ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130869i5B102A9AD17854B0/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MFgQ.jpg" alt="0683p000009MFgQ.jpg" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;I have specified this in my&lt;STRONG&gt; tJavaRow&lt;/STRONG&gt; and asked it to print the variable to the run window, so I can check it is working - which it is.&lt;BR /&gt;It seems like it just doesn't get recognised in &lt;STRONG&gt;tMysqlRow&lt;/STRONG&gt; though, evident from the &lt;FONT color="#ff3333"&gt;Incorrect table name ""&lt;/FONT&gt; error.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I have had this method working with a &lt;STRONG&gt;tMysqlRow &lt;/STRONG&gt;component, but it runs too slowly (2000 rows/s)&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2016 09:51:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-Variable-in-tMysqlOutput/m-p/2342050#M109953</guid>
      <dc:creator>cjj</dc:creator>
      <dc:date>2016-09-14T09:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: Context Variable in tMysqlOutput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-Variable-in-tMysqlOutput/m-p/2342051#M109954</link>
      <description>Hi,&lt;BR /&gt;Here is a &lt;A href="https://help.talend.com/search/all?query=tCreateTable" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tCreateTable&lt;/A&gt; component which is used to create and drop the specified table.&lt;BR /&gt;Have you tried to use this component to dynamically control the table name you are inserting data into on your MySQL DB?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 19 Sep 2016 05:50:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-Variable-in-tMysqlOutput/m-p/2342051#M109954</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-19T05:50:48Z</dc:date>
    </item>
  </channel>
</rss>

