摘要: 1 问题客户需要在指定的日期范围内,计算出每日机器设备的运行时间。比如机器设备在3月份的运行时间为从 2014-3-20 23:00:00 到 2014-3-22 2:00:00,那么查询该月所得到的结果应该为:日期时间2014-3-201小时2014-3-2124小时2014-3-222小时2 分析1)如何将一个日期范围分割成连续的每一天?2)查询范围和运行时间的关系?3 实现自定义SQL函数:-- =============================================-- Author: locus-- Create date: 2013-12-31-... 阅读全文
posted @ 2014-03-27 10:00 uhavemyword 阅读(847) 评论(0) 推荐(0) 编辑
摘要: 与团队成员分享的几页PPT •Update existing templates(MSDN) •Use template parameters(MSDN) Create your own snippets •See MSDN for detail 阅读全文
posted @ 2014-03-27 09:59 uhavemyword 阅读(128) 评论(0) 推荐(0) 编辑