<?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 Microsoft SQL connections in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Microsoft-SQL-connections/m-p/2308974#M80244</link>
    <description>Hi Team ,&lt;BR /&gt;Thanks in advance. I have developed a simple job for reading a txt file and load the data into db using tmssqloutput component . After establishing the connections with a particular db, talend would prepare insert scripts to load data into db . Is it possible to retrieve those elements in talend . I'm aware of getting this information using sql server profiler . But can we get this done using talend ?&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik&lt;BR /&gt;</description>
    <pubDate>Sat, 28 Oct 2017 08:38:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-28T08:38:10Z</dc:date>
    <item>
      <title>Microsoft SQL connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Microsoft-SQL-connections/m-p/2308974#M80244</link>
      <description>Hi Team ,&lt;BR /&gt;Thanks in advance. I have developed a simple job for reading a txt file and load the data into db using tmssqloutput component . After establishing the connections with a particular db, talend would prepare insert scripts to load data into db . Is it possible to retrieve those elements in talend . I'm aware of getting this information using sql server profiler . But can we get this done using talend ?&lt;BR /&gt;Thanks,&lt;BR /&gt;Karthik&lt;BR /&gt;</description>
      <pubDate>Sat, 28 Oct 2017 08:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Microsoft-SQL-connections/m-p/2308974#M80244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-28T08:38:10Z</dc:date>
    </item>
    <item>
      <title>Re: Microsoft SQL connections</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Microsoft-SQL-connections/m-p/2308975#M80245</link>
      <description>&lt;P&gt;Hi Karthik,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Yes, you can do this by ticking "Enable debug mode" in the Advanced Settings&amp;nbsp;of your tMSSqlOutput component, then sending the Main output&amp;nbsp;to a tFlowToIterate, at which point you'll have access to the query executed in a global variable named similar to "tMSSqlOuput_1_QUERY".&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Here's an example which logs the query to the console in&amp;nbsp;a tJava component:&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="tMSSqlOutputDebug.png" style="width: 725px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrWl.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149066i74C5FD993EA9EEC5/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrWl.png" alt="0683p000009LrWl.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The code in tJava_1 is just:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;PRE&gt;System.out.println(((String)globalMap.get("tMSSqlOutput_1_QUERY")));&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Chris&lt;/P&gt;</description>
      <pubDate>Sat, 28 Oct 2017 14:32:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Microsoft-SQL-connections/m-p/2308975#M80245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-28T14:32:37Z</dc:date>
    </item>
  </channel>
</rss>

