I don't know whether well I understood the problem, if it is a following code should help:
SELECT top 1000 order_date FROM database.table
where order_date>=add_months(current_date,-6)
order by order_date
In case of questions I stay for the instruction:)
Best regards
Peter
I don't know whether well I understood the problem, if it is a following code should help:
SELECT top 1000 order_date FROM database.table
where order_date>=add_months(current_date,-6)
order by order_date
In case of questions I stay for the instruction:)
Best regards
Peter