sql 时间函数(全)

【Cite:http://www.jb51.net/article/20832.htm】html   1. 当前系统日期、时间   select getdate() 2. dateadd 在向指定日期加上一段时间的基础上,返回新的 datetime 值   例如:向日期加上2天   select dateadd(day,2,'2004-10-15') --返回:2004-10-17 00:00:0
相关文章
相关标签/搜索