<?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: Formating output to Teradata TIMESTAMP(6) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326345#M95841</link>
    <description>In Teradata, this time unit is called microseconds. I have not tried this Java method, but it may point you in the right direction (see link).
&lt;BR /&gt;
&lt;A href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html#toMicros(long)" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html#toMicros(long)&lt;/A&gt;
&lt;BR /&gt;IIRC, the year portion of the date in Teradata by default is stored as years from 1900. 
&lt;BR /&gt;So December 31st, 2011 is formatted as YYYMMDD or 1111231. 111 because 2011-1900=111.</description>
    <pubDate>Tue, 23 Aug 2011 02:09:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-08-23T02:09:38Z</dc:date>
    <item>
      <title>Formating output to Teradata TIMESTAMP(6)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326344#M95840</link>
      <description>Does anyone have experience formating TIMESTAMP fields when loading to Teradata. I do not see any format string beyond milliseconds and I need a scale of 6 such as in "2011-12-31 11:39:02.012345".</description>
      <pubDate>Sat, 16 Nov 2024 12:43:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326344#M95840</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Formating output to Teradata TIMESTAMP(6)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326345#M95841</link>
      <description>In Teradata, this time unit is called microseconds. I have not tried this Java method, but it may point you in the right direction (see link).
&lt;BR /&gt;
&lt;A href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html#toMicros(long)" rel="nofollow noopener noreferrer"&gt;http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeUnit.html#toMicros(long)&lt;/A&gt;
&lt;BR /&gt;IIRC, the year portion of the date in Teradata by default is stored as years from 1900. 
&lt;BR /&gt;So December 31st, 2011 is formatted as YYYMMDD or 1111231. 111 because 2011-1900=111.</description>
      <pubDate>Tue, 23 Aug 2011 02:09:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326345#M95841</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T02:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: Formating output to Teradata TIMESTAMP(6)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326346#M95842</link>
      <description>Thank you.  That is helpful.  Does anyone know if there is a format string available for microseconds?</description>
      <pubDate>Tue, 23 Aug 2011 14:00:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326346#M95842</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T14:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: Formating output to Teradata TIMESTAMP(6)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326347#M95843</link>
      <description>If you are unable to generate the precision, you could fill the format with zeros.  hhmmssSSS000</description>
      <pubDate>Tue, 23 Aug 2011 17:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326347#M95843</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T17:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formating output to Teradata TIMESTAMP(6)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326348#M95844</link>
      <description>Understand and I was able to do that immediately with no issue.  However, I very often MUST deal with all 6 digits of scale so I need a good answer eventually.</description>
      <pubDate>Tue, 23 Aug 2011 21:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326348#M95844</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-08-23T21:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Formating output to Teradata TIMESTAMP(6)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326349#M95845</link>
      <description>We are performing something similar where we bring in the timestamp from a db2 system (up to the microsecond precision) and writing it to a Teradata database using timestamp(6). The Date (java.util.Date) only gives you millisecond precision so the last 3 decimal digits are replaced with zeros. We got around this by using the "Object" Java type and "Timestamp" DB types in the schema definitions in the input, tmap and output components and it worked flawlessly. I assume the Java Type stored is probably a java.sql.Timestamp so if you need to manipulate in the tmap, you will most likely need to Java cast it. In our case, we didn't have to. We are currently using TOS 5.0.2. 
&lt;BR /&gt;Noel</description>
      <pubDate>Fri, 01 Nov 2013 15:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Formating-output-to-Teradata-TIMESTAMP-6/m-p/2326349#M95845</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-11-01T15:26:36Z</dc:date>
    </item>
  </channel>
</rss>

