摘要: ---sql server 2005 顯示一個月的數據,如果沒有空的也要顯示出來declare @T table([geovinddate] Datetime,[workcontent] nvarchar(8),[worker] nvarchar(50))Insert @Tselect '2012-8-11',N'遲到','geovindu' union allselect '2012-8-12',N'早退','geovin';with Dateas(select cast('2012-08 阅读全文
posted @ 2013-05-22 15:05 ®Geovin Du Dream Park™ 阅读(318) 评论(0) 推荐(0) 编辑