MySQL Forums
Forum List  »  Newbie

Week Date SQL QUERY
Posted by: MuraliDharan V
Date: November 15, 2013 03:49AM

Dear Experts,

I need to get the week start date and end date for the given month.
If my Input Month is AUGUST,then I need the output as

Quote


-----------------------------------------------------------------------------------|
|WEEK1(MON-SAT) | WEEK2(MON-SAT) | WEEK3(MON-SAT) | WEEK4(MON-SAT) |
-----------------------------------------------------------------------------------|
|5-AUG TO 10-AUG | 12-AUG TO 17-AUG | 19-AUG TO 24-AUG | 26-AUG TO 31-AUG|
-----------------------------------------------------------------------------------|

Thanks,
Murali.V

Options: ReplyQuote


Subject
Written By
Posted
Week Date SQL QUERY
November 15, 2013 03:49AM
November 17, 2013 01:54AM
November 18, 2013 06:32AM
November 18, 2013 01:46PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.