Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
H
h2database
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
Administrator
h2database
Commits
489d6335
提交
489d6335
authored
5月 21, 2016
作者:
lukaseder
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[#285] Updated documentation
上级
3b718821
显示空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
29 行增加
和
19 行删除
+29
-19
help.csv
h2/src/docsrc/help/help.csv
+9
-9
changelog.html
h2/src/docsrc/html/changelog.html
+11
-1
help.csv
h2/src/main/org/h2/res/help.csv
+9
-9
没有找到文件。
h2/src/docsrc/help/help.csv
浏览文件 @
489d6335
...
@@ -201,7 +201,7 @@ ALTER INDEX IDXNAME RENAME TO IDX_TEST_NAME
...
@@ -201,7 +201,7 @@ ALTER INDEX IDXNAME RENAME TO IDX_TEST_NAME
"
"
"Commands (DDL)","ALTER SCHEMA RENAME","
"Commands (DDL)","ALTER SCHEMA RENAME","
ALTER SCHEMA schema RENAME TO newSchemaName
ALTER SCHEMA
[ IF EXISTS ]
schema RENAME TO newSchemaName
","
","
Renames a schema.
Renames a schema.
This command commits an open transaction in this connection.
This command commits an open transaction in this connection.
...
@@ -224,7 +224,7 @@ ALTER SEQUENCE SEQ_ID RESTART WITH 1000
...
@@ -224,7 +224,7 @@ ALTER SEQUENCE SEQ_ID RESTART WITH 1000
"
"
"Commands (DDL)","ALTER TABLE ADD","
"Commands (DDL)","ALTER TABLE ADD","
ALTER TABLE tableName ADD [ COLUMN ]
ALTER TABLE
[ IF EXISTS ]
tableName ADD [ COLUMN ]
{ [ IF NOT EXISTS ] columnDefinition [ { BEFORE | AFTER } columnName ]
{ [ IF NOT EXISTS ] columnDefinition [ { BEFORE | AFTER } columnName ]
| ( { columnDefinition } [,...] ) }
| ( { columnDefinition } [,...] ) }
","
","
...
@@ -235,7 +235,7 @@ ALTER TABLE TEST ADD CREATEDATE TIMESTAMP
...
@@ -235,7 +235,7 @@ ALTER TABLE TEST ADD CREATEDATE TIMESTAMP
"
"
"Commands (DDL)","ALTER TABLE ADD CONSTRAINT","
"Commands (DDL)","ALTER TABLE ADD CONSTRAINT","
ALTER TABLE tableName ADD constraint [ CHECK | NOCHECK ]
ALTER TABLE
[ IF EXISTS ]
tableName ADD constraint [ CHECK | NOCHECK ]
","
","
Adds a constraint to a table. If NOCHECK is specified, existing rows are not
Adds a constraint to a table. If NOCHECK is specified, existing rows are not
checked for consistency (the default is to check consistency for existing rows).
checked for consistency (the default is to check consistency for existing rows).
...
@@ -247,7 +247,7 @@ ALTER TABLE TEST ADD CONSTRAINT NAME_UNIQUE UNIQUE(NAME)
...
@@ -247,7 +247,7 @@ ALTER TABLE TEST ADD CONSTRAINT NAME_UNIQUE UNIQUE(NAME)
"
"
"Commands (DDL)","ALTER TABLE RENAME CONSTRAINT","
"Commands (DDL)","ALTER TABLE RENAME CONSTRAINT","
ALTER TABLE tableName RENAME oldConstraintName TO newConstraintName
ALTER TABLE
[ IF EXISTS ]
tableName RENAME oldConstraintName TO newConstraintName
","
","
Renames a constraint.
Renames a constraint.
This command commits an open transaction in this connection.
This command commits an open transaction in this connection.
...
@@ -256,7 +256,7 @@ ALTER TABLE TEST RENAME CONSTRAINT FOO TO BAR
...
@@ -256,7 +256,7 @@ ALTER TABLE TEST RENAME CONSTRAINT FOO TO BAR
"
"
"Commands (DDL)","ALTER TABLE ALTER COLUMN","
"Commands (DDL)","ALTER TABLE ALTER COLUMN","
ALTER TABLE tableName ALTER COLUMN columnName
ALTER TABLE
[ IF EXISTS ]
tableName ALTER COLUMN columnName
{ { dataType [ DEFAULT expression ] [ [ NOT ] NULL ] [ AUTO_INCREMENT | IDENTITY ] }
{ { dataType [ DEFAULT expression ] [ [ NOT ] NULL ] [ AUTO_INCREMENT | IDENTITY ] }
| { RENAME TO name }
| { RENAME TO name }
| { RESTART WITH long }
| { RESTART WITH long }
...
@@ -298,7 +298,7 @@ ALTER TABLE TEST ALTER COLUMN NAME SET NULL;
...
@@ -298,7 +298,7 @@ ALTER TABLE TEST ALTER COLUMN NAME SET NULL;
"
"
"Commands (DDL)","ALTER TABLE DROP COLUMN","
"Commands (DDL)","ALTER TABLE DROP COLUMN","
ALTER TABLE tableName DROP COLUMN [ IF EXISTS ] ( columnName [,...] )
ALTER TABLE
[ IF EXISTS ]
tableName DROP COLUMN [ IF EXISTS ] ( columnName [,...] )
","
","
Removes column(s) from a table.
Removes column(s) from a table.
This command commits an open transaction in this connection.
This command commits an open transaction in this connection.
...
@@ -308,7 +308,7 @@ ALTER TABLE TEST DROP COLUMN NAME1, NAME2
...
@@ -308,7 +308,7 @@ ALTER TABLE TEST DROP COLUMN NAME1, NAME2
"
"
"Commands (DDL)","ALTER TABLE DROP CONSTRAINT","
"Commands (DDL)","ALTER TABLE DROP CONSTRAINT","
ALTER TABLE tableName DROP { CONSTRAINT [ IF EXISTS ] constraintName | PRIMARY KEY }
ALTER TABLE
[ IF EXISTS ]
tableName DROP { CONSTRAINT [ IF EXISTS ] constraintName | PRIMARY KEY }
","
","
Removes a constraint or a primary key from a table.
Removes a constraint or a primary key from a table.
This command commits an open transaction in this connection.
This command commits an open transaction in this connection.
...
@@ -317,7 +317,7 @@ ALTER TABLE TEST DROP CONSTRAINT UNIQUE_NAME
...
@@ -317,7 +317,7 @@ ALTER TABLE TEST DROP CONSTRAINT UNIQUE_NAME
"
"
"Commands (DDL)","ALTER TABLE SET","
"Commands (DDL)","ALTER TABLE SET","
ALTER TABLE tableName SET REFERENTIAL_INTEGRITY
ALTER TABLE
[ IF EXISTS ]
tableName SET REFERENTIAL_INTEGRITY
{ FALSE | TRUE [ CHECK | NOCHECK ] }
{ FALSE | TRUE [ CHECK | NOCHECK ] }
","
","
Disables or enables referential integrity checking for a table. This command can
Disables or enables referential integrity checking for a table. This command can
...
@@ -332,7 +332,7 @@ ALTER TABLE TEST SET REFERENTIAL_INTEGRITY FALSE
...
@@ -332,7 +332,7 @@ ALTER TABLE TEST SET REFERENTIAL_INTEGRITY FALSE
"
"
"Commands (DDL)","ALTER TABLE RENAME","
"Commands (DDL)","ALTER TABLE RENAME","
ALTER TABLE tableName RENAME TO newName
ALTER TABLE
[ IF EXISTS ]
tableName RENAME TO newName
","
","
Renames a table.
Renames a table.
This command commits an open transaction in this connection.
This command commits an open transaction in this connection.
...
...
h2/src/docsrc/html/changelog.html
浏览文件 @
489d6335
...
@@ -48,6 +48,16 @@ table with an LOB column.
...
@@ -48,6 +48,16 @@ table with an LOB column.
</li>
</li>
<li>
Add support for PostgreSQL ALTER TABLE ... RENAME COLUMN .. TO ...
<li>
Add support for PostgreSQL ALTER TABLE ... RENAME COLUMN .. TO ...
</li>
</li>
<li>
Add support for ALTER SCHEMA [ IF EXISTS ]
</li>
<li>
Add support for ALTER TABLE [ IF EXISTS ]
</li>
<li>
Add support for ALTER VIEW [ IF EXISTS ]
</li>
<li>
Add support for ALTER INDE [ IF EXISTS ]
</li>
<li>
Add support for ALTER SEQUENCE [ IF EXISTS ]
</li>
<li>
Improve performance of cleaning up temp tables - patch from Eric Faulhaber.
<li>
Improve performance of cleaning up temp tables - patch from Eric Faulhaber.
</li>
</li>
<li>
Fix bug where table locks were not dropped when the connection closed
<li>
Fix bug where table locks were not dropped when the connection closed
...
...
h2/src/main/org/h2/res/help.csv
浏览文件 @
489d6335
...
@@ -71,7 +71,7 @@ ALTER INDEX [ IF EXISTS ] indexName RENAME TO newIndexName
...
@@ -71,7 +71,7 @@ ALTER INDEX [ IF EXISTS ] indexName RENAME TO newIndexName
","
","
Renames an index."
Renames an index."
"Commands (DDL)","ALTER SCHEMA RENAME","
"Commands (DDL)","ALTER SCHEMA RENAME","
ALTER SCHEMA schema RENAME TO newSchemaName
ALTER SCHEMA
[ IF EXISTS ]
schema RENAME TO newSchemaName
","
","
Renames a schema."
Renames a schema."
"Commands (DDL)","ALTER SEQUENCE","
"Commands (DDL)","ALTER SEQUENCE","
...
@@ -83,21 +83,21 @@ ALTER SEQUENCE [ IF EXISTS ] sequenceName [ RESTART WITH long ] [ INCREMENT BY l
...
@@ -83,21 +83,21 @@ ALTER SEQUENCE [ IF EXISTS ] sequenceName [ RESTART WITH long ] [ INCREMENT BY l
","
","
Changes the parameters of a sequence."
Changes the parameters of a sequence."
"Commands (DDL)","ALTER TABLE ADD","
"Commands (DDL)","ALTER TABLE ADD","
ALTER TABLE tableName ADD [ COLUMN ]
ALTER TABLE
[ IF EXISTS ]
tableName ADD [ COLUMN ]
{ [ IF NOT EXISTS ] columnDefinition [ { BEFORE | AFTER } columnName ]
{ [ IF NOT EXISTS ] columnDefinition [ { BEFORE | AFTER } columnName ]
| ( { columnDefinition } [,...] ) }
| ( { columnDefinition } [,...] ) }
","
","
Adds a new column to a table."
Adds a new column to a table."
"Commands (DDL)","ALTER TABLE ADD CONSTRAINT","
"Commands (DDL)","ALTER TABLE ADD CONSTRAINT","
ALTER TABLE tableName ADD constraint [ CHECK | NOCHECK ]
ALTER TABLE
[ IF EXISTS ]
tableName ADD constraint [ CHECK | NOCHECK ]
","
","
Adds a constraint to a table."
Adds a constraint to a table."
"Commands (DDL)","ALTER TABLE RENAME CONSTRAINT","
"Commands (DDL)","ALTER TABLE RENAME CONSTRAINT","
ALTER TABLE tableName RENAME oldConstraintName TO newConstraintName
ALTER TABLE
[ IF EXISTS ]
tableName RENAME oldConstraintName TO newConstraintName
","
","
Renames a constraint."
Renames a constraint."
"Commands (DDL)","ALTER TABLE ALTER COLUMN","
"Commands (DDL)","ALTER TABLE ALTER COLUMN","
ALTER TABLE tableName ALTER COLUMN columnName
ALTER TABLE
[ IF EXISTS ]
tableName ALTER COLUMN columnName
{ { dataType [ DEFAULT expression ] [ [ NOT ] NULL ] [ AUTO_INCREMENT | IDENTITY ] }
{ { dataType [ DEFAULT expression ] [ [ NOT ] NULL ] [ AUTO_INCREMENT | IDENTITY ] }
| { RENAME TO name }
| { RENAME TO name }
| { RESTART WITH long }
| { RESTART WITH long }
...
@@ -109,20 +109,20 @@ ALTER TABLE tableName ALTER COLUMN columnName
...
@@ -109,20 +109,20 @@ ALTER TABLE tableName ALTER COLUMN columnName
Changes the data type of a column, rename a column,
Changes the data type of a column, rename a column,
change the identity value, or change the selectivity."
change the identity value, or change the selectivity."
"Commands (DDL)","ALTER TABLE DROP COLUMN","
"Commands (DDL)","ALTER TABLE DROP COLUMN","
ALTER TABLE tableName DROP COLUMN [ IF EXISTS ] ( columnName [,...] )
ALTER TABLE
[ IF EXISTS ]
tableName DROP COLUMN [ IF EXISTS ] ( columnName [,...] )
","
","
Removes column(s) from a table."
Removes column(s) from a table."
"Commands (DDL)","ALTER TABLE DROP CONSTRAINT","
"Commands (DDL)","ALTER TABLE DROP CONSTRAINT","
ALTER TABLE tableName DROP { CONSTRAINT [ IF EXISTS ] constraintName | PRIMARY KEY }
ALTER TABLE
[ IF EXISTS ]
tableName DROP { CONSTRAINT [ IF EXISTS ] constraintName | PRIMARY KEY }
","
","
Removes a constraint or a primary key from a table."
Removes a constraint or a primary key from a table."
"Commands (DDL)","ALTER TABLE SET","
"Commands (DDL)","ALTER TABLE SET","
ALTER TABLE tableName SET REFERENTIAL_INTEGRITY
ALTER TABLE
[ IF EXISTS ]
tableName SET REFERENTIAL_INTEGRITY
{ FALSE | TRUE [ CHECK | NOCHECK ] }
{ FALSE | TRUE [ CHECK | NOCHECK ] }
","
","
Disables or enables referential integrity checking for a table."
Disables or enables referential integrity checking for a table."
"Commands (DDL)","ALTER TABLE RENAME","
"Commands (DDL)","ALTER TABLE RENAME","
ALTER TABLE tableName RENAME TO newName
ALTER TABLE
[ IF EXISTS ]
tableName RENAME TO newName
","
","
Renames a table."
Renames a table."
"Commands (DDL)","ALTER USER ADMIN","
"Commands (DDL)","ALTER USER ADMIN","
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论