Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
751d0ed5
提交
751d0ed5
authored
9月 22, 2018
作者:
Evgenij Ryazanov
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update documentation
上级
7a212e63
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
25 行增加
和
10 行删除
+25
-10
help.csv
h2/src/docsrc/help/help.csv
+22
-10
changelog.html
h2/src/docsrc/html/changelog.html
+2
-0
dictionary.txt
h2/src/tools/org/h2/build/doc/dictionary.txt
+1
-0
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
751d0ed5
...
@@ -703,12 +703,7 @@ CREATE SCHEMA TEST_SCHEMA AUTHORIZATION SA
...
@@ -703,12 +703,7 @@ CREATE SCHEMA TEST_SCHEMA AUTHORIZATION SA
"Commands (DDL)","CREATE SEQUENCE","
"Commands (DDL)","CREATE SEQUENCE","
CREATE SEQUENCE [ IF NOT EXISTS ] newSequenceName
CREATE SEQUENCE [ IF NOT EXISTS ] newSequenceName
[ START WITH long ]
sequenceOptions
[ INCREMENT BY long ]
[ MINVALUE long | NOMINVALUE | NO MINVALUE ]
[ MAXVALUE long | NOMAXVALUE | NO MAXVALUE ]
[ CYCLE long | NOCYCLE | NO CYCLE ]
[ CACHE long | NOCACHE | NO CACHE ]
","
","
Creates a new sequence.
Creates a new sequence.
The data type of a sequence is BIGINT.
The data type of a sequence is BIGINT.
...
@@ -2085,7 +2080,9 @@ AES
...
@@ -2085,7 +2080,9 @@ AES
"Other Grammar","Column Definition","
"Other Grammar","Column Definition","
dataType [ VISIBLE | INVISIBLE ]
dataType [ VISIBLE | INVISIBLE ]
[ { DEFAULT expression | AS computedColumnExpression } ]
[ { DEFAULT expression
| AS computedColumnExpression
| GENERATED {ALWAYS | BY DEFAULT} AS IDENTITY [(sequenceOptions)]} ]
[ ON UPDATE expression ] [ [ NOT ] NULL ]
[ ON UPDATE expression ] [ [ NOT ] NULL ]
[ { AUTO_INCREMENT | IDENTITY } [ ( startInt [, incrementInt ] ) ] ]
[ { AUTO_INCREMENT | IDENTITY } [ ( startInt [, incrementInt ] ) ] ]
[ SELECTIVITY selectivity ] [ COMMENT expression ]
[ SELECTIVITY selectivity ] [ COMMENT expression ]
...
@@ -2097,9 +2094,11 @@ On update column expression is used if row is updated,
...
@@ -2097,9 +2094,11 @@ On update column expression is used if row is updated,
at least one column have a new value that is different from its previous value
at least one column have a new value that is different from its previous value
and value for this column is not set explicitly in update statement.
and value for this column is not set explicitly in update statement.
Identity and auto-increment columns are columns with a sequence as the
Identity, auto-increment, or generated as identity columns are columns with a sequence as the default.
default. The column declared as the identity columns is implicitly the
The column declared as the identity columns with IDENTITY data type or with IDENTITY () clause
primary key column of this table (unlike auto-increment columns).
is implicitly the primary key column of this table.
AUTO_INCREMENT and GENERATED clauses do not create the primary key constraint.
GENERATED ALWAYS is accepted by treated in the same way as GENERATED BY DEFAULT.
The invisible column will not be displayed as a result of SELECT * query.
The invisible column will not be displayed as a result of SELECT * query.
Otherwise, it works as normal column.
Otherwise, it works as normal column.
...
@@ -2483,6 +2482,19 @@ An expression in a SELECT statement.
...
@@ -2483,6 +2482,19 @@ An expression in a SELECT statement.
ID AS VALUE
ID AS VALUE
"
"
"Other Grammar","Sequence options","
[ START WITH long ]
[ INCREMENT BY long ]
[ MINVALUE long | NOMINVALUE | NO MINVALUE ]
[ MAXVALUE long | NOMAXVALUE | NO MAXVALUE ]
[ CYCLE long | NOCYCLE | NO CYCLE ]
[ CACHE long | NOCACHE | NO CACHE ]
","
Options of a sequence.
","
START WITH 1
"
"Other Grammar","Set clause list","
"Other Grammar","Set clause list","
{ { columnName = { DEFAULT | expression } } [,...] } |
{ { columnName = { DEFAULT | expression } } [,...] } |
{ ( columnName [,...] ) = ( select ) }
{ ( columnName [,...] ) = ( select ) }
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
751d0ed5
...
@@ -21,6 +21,8 @@ Change Log
...
@@ -21,6 +21,8 @@ Change Log
<h2>
Next Version (unreleased)
</h2>
<h2>
Next Version (unreleased)
</h2>
<ul>
<ul>
<li>
Issue #1437: Generated as Identity has a different behaviour.
</li>
<li>
PR #1467: Fix subtraction of timestamps
<li>
PR #1467: Fix subtraction of timestamps
</li>
</li>
<li>
PR #1464: Assorted minor changes in window processing code
<li>
PR #1464: Assorted minor changes in window processing code
...
...
h2/src/tools/org/h2/build/doc/dictionary.txt
浏览文件 @
751d0ed5
...
@@ -797,3 +797,4 @@ xym normalizes coord setz xyzm geometrycollection multipolygon mixup rings polyg
...
@@ -797,3 +797,4 @@ xym normalizes coord setz xyzm geometrycollection multipolygon mixup rings polyg
pointzm pointz pointm dimensionality redefine forum measures
pointzm pointz pointm dimensionality redefine forum measures
mpg casted pzm mls constrained subtypes complains
mpg casted pzm mls constrained subtypes complains
ranks rno dro rko precede cume reopens preceding unbounded rightly itr lag maximal tiles tile ntile signify
ranks rno dro rko precede cume reopens preceding unbounded rightly itr lag maximal tiles tile ntile signify
partitioned
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论