Hi,
I want to convert System date into Integer.
As field which I want to compare is in INT
I am using '"/BI0/D0PM_C04T".SID_0CALDAY > CAST(to_char(add_months(last_date(sysdate()), -3) , 'YYYYMMDD') , 'INT')'
It is giving error in other table.
and when I pass hard coded value to this.
'/BI0/D0PM_C04T".SID_0CALDAY> 20140731'
it works where 20140731 is date in INT