提交 4ca826fc authored 作者: Evgenij Ryazanov's avatar Evgenij Ryazanov

Fix description of explicit table and add separate description of LOCALTIME

上级 da8c8f4d
...@@ -243,7 +243,7 @@ TABLE [schemaName.]tableName ...@@ -243,7 +243,7 @@ TABLE [schemaName.]tableName
"," ","
Selects data from a table. Selects data from a table.
This command is an equivalent to SELECT * FROM TABLE. This command is an equivalent to SELECT * FROM tableName.
FROM, WHERE, GROUP BY, HAVING, and WINDOW clauses from the SELECT command are not allowed. FROM, WHERE, GROUP BY, HAVING, and WINDOW clauses from the SELECT command are not allowed.
"," ","
...@@ -4551,9 +4551,10 @@ CURRENT_DATE ...@@ -4551,9 +4551,10 @@ CURRENT_DATE
" "
"Functions (Time and Date)","CURRENT_TIME"," "Functions (Time and Date)","CURRENT_TIME","
{ CURRENT_TIME [ (int) ] | LOCALTIME [ (int) ] | CURTIME([ int ]) } CURRENT_TIME [ (int) ]
"," ","
Returns the current time. Returns the current time.
The returned value does not have time zone information, because TIME WITH TIME ZONE data type is not supported in H2.
If fractional seconds precision is specified it should be from 0 to 9, 0 is default. If fractional seconds precision is specified it should be from 0 to 9, 0 is default.
The specified value can be used only to limit precision of a result. The specified value can be used only to limit precision of a result.
The actual maximum available precision depends on operating system and JVM and can be 3 (milliseconds) or higher. The actual maximum available precision depends on operating system and JVM and can be 3 (milliseconds) or higher.
...@@ -4562,8 +4563,7 @@ These methods always return the same value within a transaction (default) ...@@ -4562,8 +4563,7 @@ These methods always return the same value within a transaction (default)
or within a command depending on database mode. or within a command depending on database mode.
"," ","
CURRENT_TIME CURRENT_TIME
LOCALTIME CURRENT_TIME(9)
LOCALTIME(9)
" "
"Functions (Time and Date)","CURRENT_TIMESTAMP"," "Functions (Time and Date)","CURRENT_TIMESTAMP","
...@@ -4582,10 +4582,25 @@ CURRENT_TIMESTAMP ...@@ -4582,10 +4582,25 @@ CURRENT_TIMESTAMP
CURRENT_TIMESTAMP(9) CURRENT_TIMESTAMP(9)
" "
"Functions (Time and Date)","LOCALTIME","
{ LOCALTIME [ (int) ] | CURTIME([ int ]) }
","
Returns the current time.
If fractional seconds precision is specified it should be from 0 to 9, 0 is default.
The specified value can be used only to limit precision of a result.
The actual maximum available precision depends on operating system and JVM and can be 3 (milliseconds) or higher.
Higher precision is not available before Java 9.
These methods always return the same value within a transaction (default)
or within a command depending on database mode.
","
LOCALTIME
LOCALTIME(9)
"
"Functions (Time and Date)","LOCALTIMESTAMP"," "Functions (Time and Date)","LOCALTIMESTAMP","
{ LOCALTIMESTAMP [ (int) ] | NOW( [ int ] ) } { LOCALTIMESTAMP [ (int) ] | NOW( [ int ] ) }
"," ","
Returns the current timestamp. Returns the current timestamp without time zone.
If fractional seconds precision is specified it should be from 0 to 9, 6 is default. If fractional seconds precision is specified it should be from 0 to 9, 6 is default.
The specified value can be used only to limit precision of a result. The specified value can be used only to limit precision of a result.
The actual maximum available precision depends on operating system and JVM and can be 3 (milliseconds) or higher. The actual maximum available precision depends on operating system and JVM and can be 3 (milliseconds) or higher.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论