SyntaxFix
Write A Post
Hire A Developer
Questions
you can use DATEADD function in your where clause like
select ...... where Createdate >= DATEADD(day,-7,GETDATE())