Hi...
I want to know how can we find out last seven day article record from c#corner side. please define with query form in sqlserver.
QUERY APPLICATION
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Kunal VaishyaRank #990 · 2K reputationPosted Jul 16, 2012, 2:08 AM EDT
Do like this
Select Article From ArticleTable Where Postdate > DateAdd(Day,-7,getdate()) and PostDate <= Getdate()