Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Need to calculate days - response (6) by ulrich

$
0
0
X0.EVENT_START_DATE > ((X2.processing_date as date) as bs_date, add_months (bs_date+1,-26)) assume X0.EVENT_START_DATE is a date  > would require that the right hand side is also a date But what is   ((X2.processing_date as date) as bs_date, add_months (bs_date+1,-26))? The outer () is covering two expressions (X2.processing_date as date) -> missing cast??? as bs_date -> wrong in comparisons so what should   ((X2.processing_date as date) as bs_date, add_months (bs_date+1,-26)) be?

Viewing all articles
Browse latest Browse all 27759

Trending Articles



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