<?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: Error with tMSSQLRow Reject Functionality in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224786#M17351</link>
    <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;
&lt;P&gt;Each row passed to tMSSQLRow creates an 'INSERT INTO Select' statement. There is no stored procedure. I am using tMSSQLRow instead of tMSSQLOutput because each row contains a different set of columns to insert into. For example,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tDenormalize (comma separated) --------&amp;gt; tMSSQLROW&lt;/P&gt;
&lt;P&gt;row1.columns&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;INSERT INTO tableName (" + row1.columns + ") SELECT " + row1.values + "&lt;/P&gt;
&lt;P&gt;row1.values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i reduce the 'Commit Every' to 1 OR use existing connection and opt for&amp;nbsp; 'Auto Commit', the records load as expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would not like to commit on every transaction because this job needs to process large data sets (~1M records)&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 14:48:13 GMT</pubDate>
    <dc:creator>qfinleymha</dc:creator>
    <dc:date>2019-12-20T14:48:13Z</dc:date>
    <item>
      <title>Error with tMSSQLRow Reject Functionality</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224784#M17349</link>
      <description>&lt;P&gt;I have created a job which passes values to tMSSQLRow, with Die on Error unchecked and a rejects stream, and I am able to catch reject rows. However, the stream is causing an issue with committing all statements in&amp;nbsp;tMSSQLRow. The exact scenario is that X number of records are good and do not throw a SQL error. The console says that X number of records have been&amp;nbsp; committed, however, when i query the table, the number of records is less than X. This mismatch occurs when one of the records are rejected due to SQL error:&amp;nbsp;Conversion failed when converting date and/or time from character string.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any insight on why this is happening for a particular SQL Exception?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:45:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224784#M17349</guid>
      <dc:creator>qfinleymha</dc:creator>
      <dc:date>2024-11-16T03:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Error with tMSSQLRow Reject Functionality</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224785#M17350</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;What are your statements and the query you are running in tMSSQLRow component? Are you using stored procedure?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 08:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224785#M17350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-20T08:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Error with tMSSQLRow Reject Functionality</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224786#M17351</link>
      <description>&lt;P&gt;Hi Sabrina,&lt;/P&gt;
&lt;P&gt;Each row passed to tMSSQLRow creates an 'INSERT INTO Select' statement. There is no stored procedure. I am using tMSSQLRow instead of tMSSQLOutput because each row contains a different set of columns to insert into. For example,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;tDenormalize (comma separated) --------&amp;gt; tMSSQLROW&lt;/P&gt;
&lt;P&gt;row1.columns&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;INSERT INTO tableName (" + row1.columns + ") SELECT " + row1.values + "&lt;/P&gt;
&lt;P&gt;row1.values&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When i reduce the 'Commit Every' to 1 OR use existing connection and opt for&amp;nbsp; 'Auto Commit', the records load as expected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would not like to commit on every transaction because this job needs to process large data sets (~1M records)&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 14:48:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-with-tMSSQLRow-Reject-Functionality/m-p/2224786#M17351</guid>
      <dc:creator>qfinleymha</dc:creator>
      <dc:date>2019-12-20T14:48:13Z</dc:date>
    </item>
  </channel>
</rss>

