DATEADD (Transact-SQL)
Posted Chuck Lu
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了DATEADD (Transact-SQL)相关的知识,希望对你有一定的参考价值。
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)的主要内容,如果未能解决你的问题,请参考以下文章