提交 3ee24c1b authored 作者: Noel Grandin's avatar Noel Grandin 提交者: GitHub

Merge pull request #338 from frsyuki/fix-timestampadd-doc

Fix document of return value of TIMESTAMPADD method
...@@ -3500,7 +3500,7 @@ Use negative values to subtract units. ...@@ -3500,7 +3500,7 @@ Use negative values to subtract units.
addIntLong may be a long value when manipulating milliseconds, addIntLong may be a long value when manipulating milliseconds,
otherwise it's range is restricted to int. otherwise it's range is restricted to int.
The same units as in the EXTRACT function are supported. The same units as in the EXTRACT function are supported.
This method returns a timestamp. DATEADD method returns a timestamp. TIMESTAMPADD method returns a long.
"," ","
DATEADD('MONTH', 1, DATE '2001-01-31') DATEADD('MONTH', 1, DATE '2001-01-31')
" "
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论