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

Documentation

上级 08131c2c
......@@ -2879,7 +2879,7 @@ RANDOM_UUID()
ROUND(numeric [, digitsInt])
","
Rounds to a number of digits, or to the nearest long if the number of digits if not set.
This method returns a double.
This method returns a numeric (the same type as the input).
","
ROUND(VALUE, 2)
"
......
......@@ -17,9 +17,12 @@ Change Log
<h1>Change Log</h1>
<h2>Next Version (unreleased)</h2>
<ul><li>Using "row_number" or "rownum" in views or derived tables had unexpected results
<ul><li>MVStore: the default auto-commit buffer size is now about twice as big.
This should reduce the database file size after inserting a lot of data.
</li><li>The built-in functions "power" and "radians" now always return a double.
</li><li>Using "row_number" or "rownum" in views or derived tables had unexpected results
if the outer query contained constraints for the given view. Example:
select b.nr, b.id from (select row_number() over() as nr, a.id as id
select b.nr, b.id from (select row_number() over() as nr, a.id as id
from (select id from test order by name) as a) as b where b.id = 1
</li><li>MVStore: the Recover tool can now deal with more types of corruption in the file.
</li><li>MVStore: the TransactionStore now first needs to be initialized before it can be used.
......
......@@ -28,12 +28,12 @@ AND studentID = 2;
> null
> rows (ordered): 1
SELECT eventID FROM RESULTS
SELECT eventID X FROM RESULTS
WHERE studentID = 2
ORDER BY points DESC
LIMIT 2;
> EVENTID
> -------
> X
> -
> 2
> 1
> rows (ordered): 2
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论