<?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 call / execute a MySQL script in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-call-execute-a-MySQL-script/m-p/2301286#M73420</link>
    <description>Yes. You can use the component tSQLScriptParser. This component does not run the statements it self but parses a script (also from a file) and iterates through the single statements.&lt;BR /&gt;You can use the Iterate flow and e.g. a tMysqlRow to run the statements.&lt;BR /&gt;&lt;A href="https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%252F1&amp;amp;pi=marketplace%252F1%252Fproducts%252F565%252Fitems%252F845" target="_blank" rel="nofollow noopener noreferrer"&gt;https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%252F1&amp;amp;pi=marketplace%252F1%252Fproducts%252F565%252Fitems%252F845&lt;/A&gt;&lt;BR /&gt;There is also a stupid useless copy of my component, only my original version is maintained.</description>
    <pubDate>Fri, 16 Oct 2015 19:29:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-10-16T19:29:51Z</dc:date>
    <item>
      <title>How to call / execute a MySQL script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-call-execute-a-MySQL-script/m-p/2301285#M73419</link>
      <description>&lt;P&gt;I've already used a tMySQLRow component to execute several statements (configuring the connection with "allowMultiQueries=true"), but now I have a SQL file with different types of statements:&lt;BR /&gt;&lt;BR /&gt;- Drop tables&lt;BR /&gt;- Create tables&lt;BR /&gt;- Create indexes&lt;BR /&gt;- Function declarations &amp;nbsp;(set delimiter // &amp;nbsp; &amp;nbsp; create function xxxx... &amp;nbsp; &amp;nbsp; &amp;nbsp;set delimiter ; )&lt;BR /&gt;- Truncate tables&lt;BR /&gt;- Insert into table select ....&lt;BR /&gt;&lt;BR /&gt;There are many statements, and not sure the function declarations that work under mysql console, can be embedded in the tMySQLRow component.&lt;BR /&gt;&lt;BR /&gt;Is there any way or tMySQL component like tMySQLRow able to execute a MySQL script (SQL text file)?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2015 13:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-call-execute-a-MySQL-script/m-p/2301285#M73419</guid>
      <dc:creator>czuriaga</dc:creator>
      <dc:date>2015-10-16T13:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to call / execute a MySQL script</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-call-execute-a-MySQL-script/m-p/2301286#M73420</link>
      <description>Yes. You can use the component tSQLScriptParser. This component does not run the statements it self but parses a script (also from a file) and iterates through the single statements.&lt;BR /&gt;You can use the Iterate flow and e.g. a tMysqlRow to run the statements.&lt;BR /&gt;&lt;A href="https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%252F1&amp;amp;pi=marketplace%252F1%252Fproducts%252F565%252Fitems%252F845" target="_blank" rel="nofollow noopener noreferrer"&gt;https://exchange.talend.com/#marketplaceproductoverview:gallery=marketplace%252F1&amp;amp;pi=marketplace%252F1%252Fproducts%252F565%252Fitems%252F845&lt;/A&gt;&lt;BR /&gt;There is also a stupid useless copy of my component, only my original version is maintained.</description>
      <pubDate>Fri, 16 Oct 2015 19:29:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-call-execute-a-MySQL-script/m-p/2301286#M73420</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-16T19:29:51Z</dc:date>
    </item>
  </channel>
</rss>

