Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
4ca826fc
提交
4ca826fc
authored
12月 22, 2018
作者:
Evgenij Ryazanov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix description of explicit table and add separate description of LOCALTIME
上级
da8c8f4d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
20 行增加
和
5 行删除
+20
-5
help.csv
h2/src/docsrc/help/help.csv
+20
-5
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
4ca826fc
...
@@ -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
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论