From the link Easiest way to populate a temp table with dates between and including 2 date parameters
I generated a table
Date
2012-01-01
2012-01-02
..
2012-01-31
I need to ask how to combine with my outlet table?
Say I have an outlet table
ID | Name
1 | Outlet A
2 | Outlet B
3 | Outlet C
I want to combine generated dates table and outlet table to be like below, so each date has all of the outlets
Date | Outlet
2012-01-01 | Outlet A
2012-01-01 | Outlet B
2012-01-01 | Outlet C
2012-01-02 | Outlet A
2012-01-02 | Outlet B
2012-01-02 | Outlet C
...
2012-01-31 | Outlet A
2012-01-31 | Outlet B
2012-01-31 | Outlet C