Quantcast
Channel: SCN : Unanswered Discussions - Data Services and Data Quality
Viewing all articles
Browse latest Browse all 3719

Converting system date in Integer

$
0
0

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


Viewing all articles
Browse latest Browse all 3719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>