<?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: Oracle timestamp - milliseconds not stored in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321362#M91401</link>
    <description>&lt;P&gt;Some extra info, this is what I see in the code:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="code" style="width: 454px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LssC.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132394i7D918590774976E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LssC.jpg" alt="0683p000009LssC.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;code&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2018 11:03:45 GMT</pubDate>
    <dc:creator>grizmi</dc:creator>
    <dc:date>2018-02-01T11:03:45Z</dc:date>
    <item>
      <title>Oracle timestamp - milliseconds not stored</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321361#M91400</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Discussion started on &lt;A href="https://community.qlik.com/s/feed/0D53p00007vCp2WCAS" target="_self" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/Load-DATE-type-into-an-Oracle-TIMESTAMP-column/td-p/99066&lt;/A&gt; but I have the same issue and can't find a solution. Can't store the milliseconds in a timestamp target colum in Oracle, but when I store it in a varchar2 column I can see the milliseconds. So it looks like that the datatype "Date" with pattern&amp;nbsp;"yyyy-MM-dd HH:mm:ss.SSS" is losing the SSS part.&lt;/P&gt; 
&lt;P&gt;Talend version: 6.4.1&lt;/P&gt; 
&lt;P&gt;Oracle: 11gR2&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="Database Oracle_target" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsri.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150849i8DC65034583A1721/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsri.jpg" alt="0683p000009Lsri.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Database Oracle_target&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;I select an Oracle timestamp source column but I convert into a string using SQL:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;to_char(le.STARTTIME ,'yyyy-MM-dd HH24:MI:ss.FF3') AS SERVICE_STARTTIME&lt;/P&gt; 
&lt;P&gt;Example: '2017-12-13 15:25:16.656'&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Input" style="width: 869px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsIq.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129897i4D5059CFCB93BD18/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsIq.jpg" alt="0683p000009LsIq.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Input&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;In mapping I do the following:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mapping" style="width: 859px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsm0.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138609iDE713580B1092826/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsm0.jpg" alt="0683p000009Lsm0.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;mapping&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mapping datatype" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsrx.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135195i8796B5655C727A76/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsrx.jpg" alt="0683p000009Lsrx.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;mapping datatype&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Target datatype" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lss2.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145805i680FAD0027C10DD9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lss2.jpg" alt="0683p000009Lss2.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Target datatype&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Target Adv settings" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsqh.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/152930iEC5CB420D625BF66/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsqh.jpg" alt="0683p000009Lsqh.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Target Adv settings&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Result when running job:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Target Result" style="width: 412px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsqM.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141023iF7A595B547E5BF1C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsqM.jpg" alt="0683p000009LsqM.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Target Result&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;As you can see, when stored as a string I can see the milliseconds but when this is a timestamp it's lost. Any idea's on how to resolve this?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 10:09:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321361#M91400</guid>
      <dc:creator>grizmi</dc:creator>
      <dc:date>2018-02-01T10:09:33Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle timestamp - milliseconds not stored</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321362#M91401</link>
      <description>&lt;P&gt;Some extra info, this is what I see in the code:&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="code" style="width: 454px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LssC.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132394i7D918590774976E8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LssC.jpg" alt="0683p000009LssC.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;code&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 11:03:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321362#M91401</guid>
      <dc:creator>grizmi</dc:creator>
      <dc:date>2018-02-01T11:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Oracle timestamp - milliseconds not stored</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321363#M91402</link>
      <description>&lt;P&gt;Found the reason, in target I must specify 'TIMESTAMP' as DB Type, by default you will have 'DATE'&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="timestamp" style="width: 498px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsrU.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156997iCFDF2651E38ADC6C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsrU.jpg" alt="0683p000009LsrU.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;timestamp&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Working now&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2018 12:29:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Oracle-timestamp-milliseconds-not-stored/m-p/2321363#M91402</guid>
      <dc:creator>grizmi</dc:creator>
      <dc:date>2018-02-01T12:29:29Z</dc:date>
    </item>
  </channel>
</rss>

