I have a Calendar from which I need to pick a date so when a date is picked, the query should show all the data for that date & also for the next 7 days.
我当前的查询如下,但它只显示所选日期的数据。
SELECT MailDate, Status, JobNo
FROM Table_1
WHERE MailDate=@MailDate
这个你能帮我吗。我正在使用 SQL SERVER 2008