As I am writing a stored procedure which will returns the first day and last day of a number. for example , if I input 2, it will returns 1-2-2013 and 28-2-2013, if I input 7 , then it will return 1-7-2013 and 31-7-2013. which 2013 is current year. Can I do that?
Thanks