error with timestamp column

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
kirankota79
Premium Member
Premium Member
Posts: 315
Joined: Tue Oct 31, 2006 3:38 pm

error with timestamp column

Post by kirankota79 »

i am trying to load dataset into a oracle database using oracle stage. For the timestamp column it is saying APT Schema has string , dbms has type 12. Can u please tell what does it mean?
mhester
Participant
Posts: 622
Joined: Tue Mar 04, 2003 5:26 am
Location: Phoenix, AZ
Contact:

Post by mhester »

This sounds as if you are trying to insert a string into a timestamp. If the db data type for the column is a timestamp then you would need to convert your string to a timestamp and then insert or update.

This sounds reasonable to me......, but I could be way off and often am!
us1aslam1us
Charter Member
Charter Member
Posts: 822
Joined: Sat Sep 17, 2005 5:25 pm
Location: USA

Post by us1aslam1us »

For me it seems that you are trying the other way around Timestamp field to a string of length 12. If that is the case i would suggest you to use some explicit function for this conversion. Also do check the formats of both the source and timestamp field. I do remember sometime back criag discussed about this.
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
Post Reply