select * from table where Date between dateadd(DD,-7,getdate()) and getdate()
select * from table where Date between DATEADD(DD, -7, SYSDATETIME()) AND SYSDATETIME()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)