date format/timestamp with milliseconds [message #652963] |
Thu, 23 June 2016 03:04 |
reym21
Messages: 241 Registered: February 2010 Location: Philippines
|
Senior Member |
|
|
Sirs,
After we migrated our legacy system database (from 7.3.4 to 11.2.0.2.0)
"bridging" using the ODI (10.1.3.5), we found out that date formats/timestamp
of transactions extracted had no milliseconds.
Our end-users is requesting our group to extract its original timestamp with
inclusion of milliseconds. Can you assist us on how to do this?
Is there a parameter in ODI that we will setup in order to extract succeeding
transactions with the desired date format/timestamp?
I attached a screen capture of the 2 Oracle databases with their respective
value of NLS_DATE_FORMAT & NLS_TIME_FORMAT.
Thank you in advance!
[mod-edit: imaged inserted into message body by bb]
[Updated on: Fri, 24 June 2016 14:20] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: date format/timestamp with milliseconds [message #652976 is a reply to message #652973] |
Thu, 23 June 2016 03:50 |
cookiemonster
Messages: 13961 Registered: September 2008 Location: Rainy Manchester
|
Senior Member |
|
|
If he's talking about how to store milliseconds for transactions made on the new system then I don't see how the old system is relevant.
If he wants to pull millisecond data from the old system then that goes back to my question above - where's the data stored in the old system.
|
|
|
|
|
Re: date format/timestamp with milliseconds [message #653120 is a reply to message #653112] |
Tue, 28 June 2016 03:28 |
|
Michel Cadot
Messages: 68728 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
I think you have a misunderstanding.
In 11g, you have basically 2 datetime datatypes (ignoring the notion of time zone): the ever existed DATE data type with a granularity up to the second and the TIMESTAMP data type with a granularity up to the nanosecond.
If you want a granularity of millisecond you have to change all your table columns from DATE to TIMESTAMP and your application code to handle this later one.
|
|
|