开发者

NUMTODSINTERVAL in SQL Server

开发者 https://www.devze.com 2023-02-21 06:46 出处:网络
Is there a function in SQL Server开发者_运维问答 that is the same as NUMTODSINTERVAL in Oracle?No. In SQL Server time intervals for date arithmetic are always specified as integers. Take a look at the

Is there a function in SQL Server开发者_运维问答 that is the same as NUMTODSINTERVAL in Oracle?


No. In SQL Server time intervals for date arithmetic are always specified as integers. Take a look at the DATEADD and DATEDIFF functions for example. Since intervals are specified as integers you won't need a function to return a special interval type.


No, there is no such function since there is no INTERVAL datatype in MSSQL.

0

精彩评论

暂无评论...
验证码 换一张
取 消