|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
trying to transform date range
I'm trying to transform a table of date ranges into a list of events each day.
The data is stored as... id start_date end_date title notes 1 2005-04-25 2005-04-30 $89pp really good deal 2 2005-03-01 2005-04-28 50% off good deal I want to output it as... date id title notes 2005-04-27 1 $89pp really good deal 2005-04-27 2 50% off good deal 2005-04-28 1 $89pp really good deal 2005-04-28 2 50% off good deal 2005-04-29 1 $89pp really good deal 2005-04-30 1 $89pp really good deal I've tried all sorts of things, the best solution using a UNION for each day. Any help would be hugely appreciated - thanks! |
|
#2
|
|||
|
|||
|
Do does the UNION work, or just seem to come closest? If it works, use it.
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > trying to transform date range |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|