Teee (6/13/2013)
@Kingston Dhasian, Thank you so much for the script that's returning the dates it works perfectly.
I am glad it worked for you and I hope you understand what the code does and how
I would also advise you to go through the articles on Tally articles on this site which help you solve a lot of similar problems
You can start with the link given below
http://www.sqlservercentral.com/articles/T-SQL/62867/
How to post data/code on a forum to get the best help - Jeff Moden
http://www.sqlservercentral.com/articles/Best+Practices/61537/