Posts datediff with in operator
Post
Cancel

datediff with in operator

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

origin - https://www.pipiscrew.com/?p=14934 datediff-with-in-operator

This post is licensed under CC BY 4.0 by the author.
Contents

Trending Tags