Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
Akshaya Pargunan
Starting Member
10 Posts |
Posted - 2011-10-10 : 08:27:40
|
I have table like belowMonday Tuesday Wednesday Thursday Friday Saturday Sunday WeekEndDate------ ------- --------- -------- ------ -------- ------ -----------2 3 2 5 5 8 0 02/10/20110 3 7 1 0 2 4 09/10/20113 0 2 0 5 0 6 16/10/20112 3 0 1 0 8 9 23/10/20111 6 2 4 0 3 0 30/10/2011Weekenddate has sunday's date,the row has one week date from monday to sunday.I have two inputsfromdate = 06/10/201 todate = 20/10/2011i want to return rows like06/10/2011 07/10/2011 08/10/2011 09/10/2011 ....20/10/2011--------- ---------- ---------- --------- ----------1 0 2 4 ....1 |
|
nigelrivett
Master Smack Fu Yak Hacker
3385 Posts |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
|
|
|
|