SqlServer时间日期处理函数及字符串转换@http://blog.sina.com.cn/s/blog_634c33eb0101859v.html

简单介绍web   Sql Server中的日期与时间函数  1.  当前系统日期、时间      select getdate()  sql 2. dateadd  在向指定日期加上一段时间的基础上,返回新的 datetime 值    例如:向日期加上2天     select dateadd(day,2,'2004-10-15')  --返回:2004-10-17 00:00:00.000i
相关文章
相关标签/搜索