select DateFull, QtyOnHand
from dbo.tsi_view_DateLookup LEFT OUTER JOIN #TempQtyOnHand6
ON dbo.tsi_view_DateLookup.DateFull = #TempQtyOnHand6.trans_date
where (WeekDayName not like 's%') AND (DateFull between '01/01/2005 00:00:00' and '04/30/2008 23:59:59')
ORDER BY DateFull
|