My table as follows
select * from plandate
fromdate todate
2017-03-02 2017-03-09
from the above table i want the ouput as follows
2017-03-03
2017-03-04
2017-03-05
2017-03-06
2017-03-07
2017-03-08
for that how to write the query in sql server

Naveen KumarRank #5,510 · 297 reputationPosted Mar 19, 2017, 5:55 AM EDT
Dinesh SanthalingamRank #2,085 · 690 reputationPosted Mar 19, 2017, 7:46 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Mar 20, 2017, 1:08 AM EDT
Pravat KumarRank #2,456 · 573 reputationPosted Mar 21, 2017, 2:22 AM EDT
Manish KumarRank #1,622 · 956 reputationPosted Mar 21, 2017, 5:55 AM EDT