<?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: [tMsSqlOutput] using default schema value at insert in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291953#M65078</link>
    <description>I see that on the post below&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT color="#315792"&gt;&lt;FONT size="3"&gt;&lt;FONT face="noto," helvetica=""&gt;Note&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;At present, only&amp;nbsp;&lt;B&gt;tFileInputDelimited&lt;/B&gt;,&amp;nbsp;&lt;B&gt;tFileInputExcel&lt;/B&gt;, and&amp;nbsp;&lt;B&gt;tFixedFlowInput&lt;/B&gt;&amp;nbsp;support default values in the schema&lt;/FONT&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=How+to+set+default+values+in+the+schema+of+an+component" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=How+to+set+default+values+in+the+schema+of+an+component&lt;/A&gt;&lt;BR /&gt;Will tMSSqlOutput and other component support replace null value by default schema value ?&lt;BR /&gt;The solution of my problem now is to set all table columns nullable and redifine null by default value with an insert trigger. It look so bad but, i have not other solution.</description>
    <pubDate>Fri, 18 Sep 2015 09:25:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-09-18T09:25:23Z</dc:date>
    <item>
      <title>[tMsSqlOutput] using default schema value at insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291950#M65075</link>
      <description>&lt;P&gt;I used the component tMsSqlOutput to insert values coming from a tMap.&lt;BR /&gt;My tMap and&amp;nbsp;tMsSqlOutput&amp;nbsp;&amp;nbsp;components use the same schema who defined default value for many columns.&lt;BR /&gt;When I try to insert values, Talend throw me an exception "Impossible to insert null value". Normal because in my dabase, this column is not nullable, but my component did not use the default of my schema value like I want.&lt;BR /&gt;&lt;BR /&gt;How can I force to use default value define in my schema.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 14:13:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291950#M65075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-15T14:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: [tMsSqlOutput] using default schema value at insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291951#M65076</link>
      <description>Have you tried to remove from the tMap the column in which you want to insert the default value?</description>
      <pubDate>Wed, 16 Sep 2015 13:37:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291951#M65076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-16T13:37:55Z</dc:date>
    </item>
    <item>
      <title>Re: [tMsSqlOutput] using default schema value at insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291952#M65077</link>
      <description>I can't remove values from my tXMLMap because of these reason :
&lt;BR /&gt;[list=*]
&lt;BR /&gt;
&lt;LI&gt;my tXMLMap is build from tFileInputXML where some value are nullable and can not exist in my XML file but are no nullable in my table.&lt;/LI&gt;
&lt;BR /&gt;
&lt;LI&gt;Even if tXMLMap does not link some values with the&amp;nbsp;tFileInputXML, i must let appear values for our integration service which can adding some other component and linking thoses one.&lt;/LI&gt;
&lt;BR /&gt;
&lt;BR /&gt;for detail my job is very simple and is build like that
&lt;BR /&gt;
&lt;BR /&gt;tFileInputXML -&amp;gt;main-&amp;gt; tXMLMap -&amp;gt;main-&amp;gt;tMSSqlOutput
&lt;BR /&gt;
&lt;BR /&gt;All values in my tXMLMap can exist in my XML file but if not, i must use the default value define in the schema.</description>
      <pubDate>Wed, 16 Sep 2015 14:11:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291952#M65077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-16T14:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: [tMsSqlOutput] using default schema value at insert</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291953#M65078</link>
      <description>I see that on the post below&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;FONT color="#315792"&gt;&lt;FONT size="3"&gt;&lt;FONT face="noto," helvetica=""&gt;Note&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto," helvetica=""&gt;At present, only&amp;nbsp;&lt;B&gt;tFileInputDelimited&lt;/B&gt;,&amp;nbsp;&lt;B&gt;tFileInputExcel&lt;/B&gt;, and&amp;nbsp;&lt;B&gt;tFixedFlowInput&lt;/B&gt;&amp;nbsp;support default values in the schema&lt;/FONT&gt;&lt;/FONT&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://help.talend.com/search/all?query=How+to+set+default+values+in+the+schema+of+an+component" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/search/all?query=How+to+set+default+values+in+the+schema+of+an+component&lt;/A&gt;&lt;BR /&gt;Will tMSSqlOutput and other component support replace null value by default schema value ?&lt;BR /&gt;The solution of my problem now is to set all table columns nullable and redifine null by default value with an insert trigger. It look so bad but, i have not other solution.</description>
      <pubDate>Fri, 18 Sep 2015 09:25:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tMsSqlOutput-using-default-schema-value-at-insert/m-p/2291953#M65078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-18T09:25:23Z</dc:date>
    </item>
  </channel>
</rss>

