T-SQL循环打印一年中所有的日期(WHILE循环)
摘要:
DECLARE @price_date DATETIME SET @price_date = CONVERT ( DATETIME , ' 2007-01-01 ' ) WHILE @price_date <= CONVERT ( DATETIME , ' 2007-12-3... 阅读全文
posted @ 2007-12-06 23:35 Sammy 阅读(4543) 评论(0) 推荐(0) 编辑