When I populate a timestamp field to the table with value
2007-01-04 10:58:55.263000 it is getting inserted fine.
But, when I read the same record in next job using an OCI stage, it comes out as 2007-01-04 10:58:55.000000
Here if you can see the microsecond value .263000 is automatically getting converted to .000000
can you explain why?
Timestamp value automatically getting formatted
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 149
- Joined: Fri Oct 15, 2004 12:13 am
- Location: Toronto,divine_auro@yahoo.co.in
- Contact:
Timestamp value automatically getting formatted
With Regards
Biswajit
Biswajit
-
- Premium Member
- Posts: 149
- Joined: Fri Oct 15, 2004 12:13 am
- Location: Toronto,divine_auro@yahoo.co.in
- Contact:
The database is Oracle 10g. Now when I am inserting the timestamp value, it is getting populated fine with all timestamp miliseconds intact. While I am reading it in DS job using an OCI stage, the milliseconds are comming as all zeros.DSguru2B wrote:I think this is a limitation. The database accepts timestamp upto 2 digit seconds. It does not like milliseconds. Try doing a command line insert with your data and see if that works.
I've mentioned timestamp extended as milliseconds. This is crucial, if its a bug as I need to use this field in change capture stage and if date will keep getting formatted like this, I'll always be getting updates and inserts
With Regards
Biswajit
Biswajit
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: