Date comparision (greater than or less than)
Posted: Wed Feb 13, 2013 8:12 pm
Hi All,
I have source datatype from oracle as 'date'. I am reading this as timestamp.
I have another source from different table with datatype as 'date' and i am reading this as timestamp.
in ETL transformer, I am using timestamptodate function to convert them to date.
I am trying to achieve this in ETL, if a > b and a<=c then output 'true'
after i use TimestampToDate function i find these values in peek stage for a,b,c
a= 2006-03-24
b=2004-06-07
c=2007-05-24
when i try this in transformer a > b and a<=c, i get null in the output. can someone please suggest. Thanks You.
can
I have source datatype from oracle as 'date'. I am reading this as timestamp.
I have another source from different table with datatype as 'date' and i am reading this as timestamp.
in ETL transformer, I am using timestamptodate function to convert them to date.
I am trying to achieve this in ETL, if a > b and a<=c then output 'true'
after i use TimestampToDate function i find these values in peek stage for a,b,c
a= 2006-03-24
b=2004-06-07
c=2007-05-24
when i try this in transformer a > b and a<=c, i get null in the output. can someone please suggest. Thanks You.
can