<?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: date/time with millisecond datatype in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397366#M862883</link>
    <description>hi,&lt;BR /&gt;&lt;BR /&gt;sorry for this late reply.&lt;BR /&gt;&lt;BR /&gt;See what i managed to get tested:&lt;BR /&gt;=======================================&lt;BR /&gt;yd@MYDB.MU&amp;gt; create table t ( x timestamp );&lt;BR /&gt; &lt;BR /&gt;Table created.&lt;BR /&gt;&lt;BR /&gt;yd@MYDB.MU&amp;gt; !cat t.ctl&lt;BR /&gt;LOAD DATA&lt;BR /&gt;INFILE *&lt;BR /&gt;INTO TABLE T&lt;BR /&gt;FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'&lt;BR /&gt;(X timestamp "yyyymmddhh24miss.ff" )&lt;BR /&gt;BEGINDATA&lt;BR /&gt;20041012081522.123&lt;BR /&gt; &lt;BR /&gt;yd@MYDB.MU&amp;gt; !sqlldr / t&lt;BR /&gt; &lt;BR /&gt;SQL*Loader: Release 9.2.0.5.0 - Production on Wed Oct 13 11:18:45 2004&lt;BR /&gt; &lt;BR /&gt;Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.&lt;BR /&gt; &lt;BR /&gt;Commit point reached - logical record count 1&lt;BR /&gt; &lt;BR /&gt;yd@MYDB.MU&amp;gt; select * from t;&lt;BR /&gt; &lt;BR /&gt;X&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;12-OCT-04 08.15.22.123000 AM&lt;BR /&gt;&lt;BR /&gt;===========================================&lt;BR /&gt;Hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
    <pubDate>Wed, 13 Oct 2004 02:43:24 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2004-10-13T02:43:24Z</dc:date>
    <item>
      <title>date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397360#M862877</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have a table which is being loaded with data via sqlldr, there are approx. 9 date/time columns on the&lt;BR /&gt;table. The situation we facing is that the raw CSV data files to be loaded have their date/time columns&lt;BR /&gt;down to milliseconds (ie. yyyymmddhh24miss.fff where fff is the millisecond value.)&lt;BR /&gt;&lt;BR /&gt;Has anyone been able to load a date/time or timestamp column datatype with date that has milliseconds? We &lt;BR /&gt;have tried using the to_timestamp conversion function with  the sqlldr control file with no success.&lt;BR /&gt;Oracle 9i HP-UX 11i&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Mon, 11 Oct 2004 08:34:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397360#M862877</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2004-10-11T08:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397361#M862878</link>
      <description>&lt;BR /&gt;This question would appear to be 100% oracle, and 0% platform dependend.&lt;BR /&gt;Wouldn't it be more effective ask an Oracle forum / newsgroup / support ?&lt;BR /&gt;&lt;BR /&gt;Some (non)starters:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci978411,00.html" target="_blank"&gt;http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci978411,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.dbforums.com/archive/index.php/t-323052.html" target="_blank"&gt;http://www.dbforums.com/archive/index.php/t-323052.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.experts-exchange.com/Databases/Oracle/Q_10087218.html" target="_blank"&gt;http://www.experts-exchange.com/Databases/Oracle/Q_10087218.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Hein.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Oct 2004 09:28:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397361#M862878</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2004-10-11T09:28:13Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397362#M862879</link>
      <description>Well, he did at least put the question in the database forum.&lt;BR /&gt;&lt;BR /&gt;Did a quick Google search for "DATE Oracle". The following article confirmed my rememberance of the DATE data type, but goes on to explain how the TIMESTAMP data type can be used to store fractional seconds as you are trying to do.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.databasejournal.com/features/oracle/article.php/2234501" target="_blank"&gt;http://www.databasejournal.com/features/oracle/article.php/2234501&lt;/A&gt;</description>
      <pubDate>Mon, 11 Oct 2004 09:38:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397362#M862879</guid>
      <dc:creator>Jeff_Traigle</dc:creator>
      <dc:date>2004-10-11T09:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397363#M862880</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;this should work! try this:&lt;BR /&gt;&lt;BR /&gt;You can call SQL functions simply by including them in the control &lt;BR /&gt;file.  For example:&lt;BR /&gt;&lt;BR /&gt;LOAD DATA&lt;BR /&gt;INTO TABLE DEPT&lt;BR /&gt;FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'&lt;BR /&gt;(DEPTNO, &lt;BR /&gt;  DNAME, &lt;BR /&gt;    LOC,&lt;BR /&gt; TIMESTAMP "function_call"&lt;BR /&gt;)&lt;BR /&gt;&lt;BR /&gt;You may also wish to try the external tables facility.&lt;BR /&gt;&lt;BR /&gt;unfortunately, i do not have an Oracle 9i Database to test.&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Mon, 11 Oct 2004 23:53:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397363#M862880</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-10-11T23:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397364#M862881</link>
      <description>Hi Yogee,&lt;BR /&gt;&lt;BR /&gt;Thanks for the feedback. Please could you shed some light on the below:&lt;BR /&gt;- what datatype(date or timestamp) should the date/time columns be create in the table sql?&lt;BR /&gt;- explain in more detail how the control file syntax should be for the date or timestamp datatype columns&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!</description>
      <pubDate>Tue, 12 Oct 2004 01:13:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397364#M862881</guid>
      <dc:creator>Edgar_8</dc:creator>
      <dc:date>2004-10-12T01:13:33Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397365#M862882</link>
      <description>If you need milliseconds you will need&lt;BR /&gt;to define the columns as TIMESTAMP.&lt;BR /&gt;&lt;BR /&gt;Assuming you have found 'fff' as the format&lt;BR /&gt;for milliseconds, the colulmn defs in the&lt;BR /&gt;control files should look like:&lt;BR /&gt;&lt;BR /&gt;column_xx TIMESTAMP 'yyyymmddhh24miss.ff',&lt;BR /&gt;&lt;BR /&gt;You may add the standard NULLIF clause if &lt;BR /&gt;required.&lt;BR /&gt;</description>
      <pubDate>Tue, 12 Oct 2004 09:03:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397365#M862882</guid>
      <dc:creator>Bill Thorsteinson</dc:creator>
      <dc:date>2004-10-12T09:03:03Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397366#M862883</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;sorry for this late reply.&lt;BR /&gt;&lt;BR /&gt;See what i managed to get tested:&lt;BR /&gt;=======================================&lt;BR /&gt;yd@MYDB.MU&amp;gt; create table t ( x timestamp );&lt;BR /&gt; &lt;BR /&gt;Table created.&lt;BR /&gt;&lt;BR /&gt;yd@MYDB.MU&amp;gt; !cat t.ctl&lt;BR /&gt;LOAD DATA&lt;BR /&gt;INFILE *&lt;BR /&gt;INTO TABLE T&lt;BR /&gt;FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'&lt;BR /&gt;(X timestamp "yyyymmddhh24miss.ff" )&lt;BR /&gt;BEGINDATA&lt;BR /&gt;20041012081522.123&lt;BR /&gt; &lt;BR /&gt;yd@MYDB.MU&amp;gt; !sqlldr / t&lt;BR /&gt; &lt;BR /&gt;SQL*Loader: Release 9.2.0.5.0 - Production on Wed Oct 13 11:18:45 2004&lt;BR /&gt; &lt;BR /&gt;Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.&lt;BR /&gt; &lt;BR /&gt;Commit point reached - logical record count 1&lt;BR /&gt; &lt;BR /&gt;yd@MYDB.MU&amp;gt; select * from t;&lt;BR /&gt; &lt;BR /&gt;X&lt;BR /&gt;---------------------------------------------------------------------------&lt;BR /&gt;12-OCT-04 08.15.22.123000 AM&lt;BR /&gt;&lt;BR /&gt;===========================================&lt;BR /&gt;Hope this helps!&lt;BR /&gt;regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Wed, 13 Oct 2004 02:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397366#M862883</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-10-13T02:43:24Z</dc:date>
    </item>
    <item>
      <title>Re: date/time with millisecond datatype</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397367#M862884</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;hope you can adapt it to your situation.&lt;BR /&gt;&lt;BR /&gt;In case of any other difficulties, do let us know.&lt;BR /&gt;&lt;BR /&gt;best regards&lt;BR /&gt;Yogeeraj</description>
      <pubDate>Wed, 13 Oct 2004 02:45:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/date-time-with-millisecond-datatype/m-p/3397367#M862884</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2004-10-13T02:45:23Z</dc:date>
    </item>
  </channel>
</rss>

