首页 > 数据库技术 > 详细

DATEADD (Transact-SQL)

时间:2019-11-02 16:12:26      阅读:84      评论:0      收藏:0      [点我收藏+]

DATEADD (Transact-SQL)

This function adds a specified number value (as a signed integer) to a specified datepart of an input date value, and then returns that modified value.

See Date and Time Data Types and Functions (Transact-SQL) for an overview of all Transact-SQL date and time data types and functions.

DATEADD (datepart , number , date ) 

datepart
The part of date to which DATEADD adds an integer number. This table lists all valid datepart arguments.

day的缩写是dd或d

 

DATEADD (Transact-SQL)

原文:https://www.cnblogs.com/chucklu/p/11782410.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!