datediff with in operator

select * from table
where daterec is not null and DATEDIFF(d, daterec ,getdate()) in (5,12)

By: |23/05/2019|categories: