<?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 Process the contents of the sql server database per slice in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284965#M58587</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a large database sql server and I would like to process the lines in slices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example for every 100,000 lines, I apply a process using a python script that I call with the component t_system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:51:39 GMT</pubDate>
    <dc:creator>INESBK</dc:creator>
    <dc:date>2024-11-16T06:51:39Z</dc:date>
    <item>
      <title>Process the contents of the sql server database per slice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284965#M58587</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a large database sql server and I would like to process the lines in slices.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example for every 100,000 lines, I apply a process using a python script that I call with the component t_system.&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I do it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284965#M58587</guid>
      <dc:creator>INESBK</dc:creator>
      <dc:date>2024-11-16T06:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Process the contents of the sql server database per slice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284966#M58588</link>
      <description>&lt;P&gt;hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;same as you will do in any language (for example SQL)&lt;/P&gt; 
&lt;P&gt;1. detect your id column (or any column which you could use for partitioning ), count number of rows&lt;/P&gt; 
&lt;P&gt;2. run you script with parameters - id &amp;gt; n * 100000 and id &amp;lt; (n+1)* 100000, where n from 0 to (number of rows / 100000)&lt;/P&gt; 
&lt;P&gt;3 increment n, n = n+1&lt;/P&gt; 
&lt;P&gt;4 do this until number of rows &amp;gt; n * 100000&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jan 2019 21:22:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284966#M58588</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-14T21:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Process the contents of the sql server database per slice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284967#M58589</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your reply.&lt;BR /&gt;If I understand correctly, I should translate this code into SQL and write it in the tmssql_input component then I use t_system to apply my script?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 15:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284967#M58589</guid>
      <dc:creator>INESBK</dc:creator>
      <dc:date>2019-01-15T15:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Process the contents of the sql server database per slice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284968#M58590</link>
      <description>&lt;P&gt;there are many ways todo this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;as variant - Input component with select count(*) from table_name&lt;/P&gt;&lt;P&gt;store this value to global variable and create loop with Talend components&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 21:02:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284968#M58590</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2019-01-15T21:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Process the contents of the sql server database per slice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284969#M58591</link>
      <description>&lt;P&gt;Ok !&lt;/P&gt;&lt;P&gt;But first how can i get the id row because&amp;nbsp;i don't have an auto increment id that i can use it for the condition (id&amp;gt;n*100000).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jan 2019 09:46:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Process-the-contents-of-the-sql-server-database-per-slice/m-p/2284969#M58591</guid>
      <dc:creator>INESBK</dc:creator>
      <dc:date>2019-01-16T09:46:53Z</dc:date>
    </item>
  </channel>
</rss>

