提交 e24a84f4 authored 作者: Thomas Mueller's avatar Thomas Mueller

Combine the TRUNCATE functions (the previous change broke the build).

上级 81d285d6
...@@ -2795,11 +2795,11 @@ CALL HASH('SHA256', STRINGTOUTF8('Password'), 1000) ...@@ -2795,11 +2795,11 @@ CALL HASH('SHA256', STRINGTOUTF8('Password'), 1000)
" "
"Functions (Numeric)","TRUNCATE"," "Functions (Numeric)","TRUNCATE","
{ TRUNC | TRUNCATE } (numeric, digitsInt) { TRUNC | TRUNCATE } ({numeric, digitsInt} | timestamp)
"," ","
Truncates to a number of digits (to the next value closer to 0). Truncates to a number of digits (to the next value closer to 0).
This method returns a double. This method returns a double.
There is also a TRUNCATE function that operates on timestamps. When used with a timestamp, truncates a timestamp to a date (day) value.
"," ","
TRUNCATE(VALUE, 2) TRUNCATE(VALUE, 2)
" "
...@@ -3367,16 +3367,6 @@ Returns the second (0-59) from a timestamp. ...@@ -3367,16 +3367,6 @@ Returns the second (0-59) from a timestamp.
SECOND(CREATED) SECOND(CREATED)
" "
"Functions (Time and Date)","TRUNCATE","
{ TRUNC | TRUNCATE } (timestamp)
","
Truncates a timestamp to a date (day) value.
This method returns a date.
There is also a TRUNCATE function that operates on numbers.
","
TRUNCATE(CREATED)
"
"Functions (Time and Date)","WEEK"," "Functions (Time and Date)","WEEK","
WEEK(timestamp) WEEK(timestamp)
"," ","
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论