<?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: sql temp tables in tmssqlinput in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362169#M126359</link>
    <description>It is weird, the query results do not appear when i test the query.&lt;BR /&gt;However, talend can guess the schema and pull the data&lt;BR /&gt;</description>
    <pubDate>Thu, 15 Feb 2018 02:04:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-15T02:04:55Z</dc:date>
    <item>
      <title>sql temp tables in tmssqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362165#M126355</link>
      <description>&lt;P&gt;I am running a query on a mssql db. The query runs perfectly fine in microsoft sql server management studio. However, the query will not run in talend. I cannot share the code but below is the general flow of the code.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;BEGIN&lt;/P&gt; 
&lt;P&gt;DECLARE A FEW VARIABLES&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;SELECT INTO TEMP TABLE1&lt;/P&gt; 
&lt;P&gt;SELECT INTO TEMP TABLE2&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;run queries&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;drop temp tables&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could someone please demonstrate the proper way to do this sort of query in talend?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 18:39:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362165#M126355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-14T18:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: sql temp tables in tmssqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362166#M126356</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;HR /&gt; 
 &lt;A href="https://community.qlik.com/s/profile/0053p000007LMniAAG"&gt;@Robert_gill&lt;/A&gt; wrote: 
 &lt;BR /&gt; 
 &lt;P&gt;I am running a query on a mssql db. The query runs perfectly fine in microsoft sql server management studio. However, the query will not run in talend. I cannot share the code but below is the general flow of the code.&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;BEGIN&lt;/P&gt; 
 &lt;P&gt;DECLARE A FEW VARIABLES&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;SELECT INTO TEMP TABLE1&lt;/P&gt; 
 &lt;P&gt;SELECT INTO TEMP TABLE2&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;run queries&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;drop temp tables&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;&amp;nbsp;&lt;/P&gt; 
 &lt;P&gt;Could someone please demonstrate the proper way to do this sort of query in talend?&lt;/P&gt; 
 &lt;HR /&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;PRE&gt;"BEGIN
          DECLARE A FEW VARIABLES;
 
          SELECT INTO TEMP TABLE1;
          SELECT INTO TEMP TABLE2;
 
          run queries;
 
          drop temp tables ;

END"&lt;/PRE&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Feb 2018 22:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362166#M126356</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-14T22:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: sql temp tables in tmssqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362167#M126357</link>
      <description>&lt;P&gt;That is how I had my code initially. If I use ";" talend throws syntax errors and if I don't use ";" the query begins to run then stops without displaying any sort of message.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 01:53:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362167#M126357</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-15T01:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: sql temp tables in tmssqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362168#M126358</link>
      <description>&lt;P&gt;look,&lt;BR /&gt;&lt;BR /&gt;I can try to guess - what are do wrong &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; ... but do I need this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;what I know, my code - is work &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;I have my own code - it work&lt;/P&gt; 
&lt;P&gt;I create code similar to describe in Your pseudo code - it work&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;why all must guess - what also You are forget include &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Code:&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-15 at 2.59.51 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsdi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157762i7668D440C2D579D8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsdi.png" alt="0683p000009Lsdi.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Result:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-15 at 3.00.06 PM.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsil.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141297i3107AB9CC3621459/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsil.png" alt="0683p000009Lsil.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 02:02:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362168#M126358</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-15T02:02:15Z</dc:date>
    </item>
    <item>
      <title>Re: sql temp tables in tmssqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362169#M126359</link>
      <description>It is weird, the query results do not appear when i test the query.&lt;BR /&gt;However, talend can guess the schema and pull the data&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Feb 2018 02:04:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362169#M126359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-15T02:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: sql temp tables in tmssqlinput</title>
      <link>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362170#M126360</link>
      <description>&lt;P&gt;tSQLRow - do not proper component for return result (even in combination with)&lt;BR /&gt;Use tMSSQLInput instead&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 lia-image-align-inline" image-alt="Screen Shot 2018-02-15 at 3.11.56 PM.png" style="width: 384px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsiq.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157792i967C7EC762D25614/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsiq.png" alt="0683p000009Lsiq.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-02-15 at 3.12.20 PM.png" style="width: 344px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsbv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142833i140E2AD7F4A1BBA1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsbv.png" alt="0683p000009Lsbv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 02:13:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/sql-temp-tables-in-tmssqlinput/m-p/2362170#M126360</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2018-02-15T02:13:52Z</dc:date>
    </item>
  </channel>
</rss>

