Hi All,
I need help it writing a T-SQL which converts a single month into the all the dates of that month.
I tried and tried, and nothing came to my brain. I need from experts like you.
Table Data
P_Status
MonthDaily ProdUnit
Jan-141 4
Feb-143 6
The output needs to be like this
MonthDaily ProdUnit
1/1/20141 4
1/2/20141 4
.
.
.
1/31/201414
2/1/20143 6
2/2/20143 6
.
.
.
2/28/2014 36
Thanks in advance.