摘要: http://www.wiseowl.co.uk/blog/s334/calendar.htmSQL Server 2012 1 CREATE PROC spCreateCalendarTable( 2 @StartDate datetime = '20000101', 3 @EndDate datetime = '20201231' 4 ) AS 5 6 -- create a table of dates for use in PowerPivot 7 8 -- NOT FOR COMMERCIAL USE OR REDISTRIBUTION 9 -- WI 阅读全文
posted @ 2013-03-06 10:32 ®Geovin Du Dream Park™ 阅读(408) 评论(0) 推荐(0) 编辑