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?
↧