Loosing The Microseconds in Stage variable
Posted: Wed Jul 26, 2006 12:35 am
Hi,
Inorder to achieve time upto Microseconds, I am generating a surrogate key and then multiplying with 0.000001 and by using TimestampFromSecondsSince function, I am getting Time untill microseconds i.e (26,6) length.
I did this in Transformer stage. When I directly maps from i/p column to o/p column(and using the above said function in the derivation for that column), I am getting proper value. But when I used some logic through stage variable for the same column , I am loosing the Microseconds part(I enabled the Microseconds in stage variables also). How to get the Microseconds part through stage variables also.
Inorder to achieve time upto Microseconds, I am generating a surrogate key and then multiplying with 0.000001 and by using TimestampFromSecondsSince function, I am getting Time untill microseconds i.e (26,6) length.
I did this in Transformer stage. When I directly maps from i/p column to o/p column(and using the above said function in the derivation for that column), I am getting proper value. But when I used some logic through stage variable for the same column , I am loosing the Microseconds part(I enabled the Microseconds in stage variables also). How to get the Microseconds part through stage variables also.