摘要:
http://blog.sina.com.cn/s/blog_540a6a3e0100099c.html1.一周的select convert(varchar(10),getdate()-(datepart(weekday,getdate())-1),120)as '第一天(周一)',convert(varchar(10),getdate()+(7-datepart(weekday,getdate... 阅读全文
摘要:
Sql 时间日期函数:http://www.cnblogs.com/lingxzg/archive/2008/08/05/1216561.html --1. 当前系统日期、时间 select getdate() --2. dateadd 在向指定日期加上一段时间的基础上,返... 阅读全文