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

Fix BNF

上级 a426100a
...@@ -213,7 +213,7 @@ ALTER SEQUENCE SEQ_ID RESTART WITH 1000 ...@@ -213,7 +213,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 tableName ADD [ COLUMN ]
{ [ IF NOT EXISTS ] columnDefinition [ BEFORE columnName ] { [ IF NOT EXISTS ] columnDefinition [ { BEFORE | AFTER } columnName ]
| ( { columnDefinition } [,...] ) } | ( { columnDefinition } [,...] ) }
"," ","
Adds a new column to a table. Adds a new column to a table.
...@@ -3574,7 +3574,7 @@ CALL DECODE(RAND()>0.5, 0, 'Red', 1, 'Black'); ...@@ -3574,7 +3574,7 @@ CALL DECODE(RAND()>0.5, 0, 'Red', 1, 'Black');
" "
"Functions (System)","DISK_SPACE_USED"," "Functions (System)","DISK_SPACE_USED","
DISK_SPACE_USED(tablename) DISK_SPACE_USED(tableNameString)
"," ","
Returns the approximate amount of space used by the table specified. Returns the approximate amount of space used by the table specified.
Does not currently take into account indexes or LOB's. Does not currently take into account indexes or LOB's.
......
...@@ -80,7 +80,7 @@ ALTER SEQUENCE sequenceName [ RESTART WITH long ] [ INCREMENT BY long ] ...@@ -80,7 +80,7 @@ ALTER SEQUENCE sequenceName [ RESTART WITH long ] [ INCREMENT BY long ]
Changes the next value and the increment of a sequence." Changes the next value and the increment of a sequence."
"Commands (DDL)","ALTER TABLE ADD"," "Commands (DDL)","ALTER TABLE ADD","
ALTER TABLE tableName ADD [ COLUMN ] ALTER TABLE tableName ADD [ COLUMN ]
{ [ IF NOT EXISTS ] columnDefinition [ BEFORE columnName | 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."
...@@ -1291,6 +1291,10 @@ Returns the directory of the database files and the database name, if it is file ...@@ -1291,6 +1291,10 @@ Returns the directory of the database files and the database name, if it is file
DECODE(value, whenValue, thenValue [,...]) DECODE(value, whenValue, thenValue [,...])
"," ","
Returns the first matching value." Returns the first matching value."
"Functions (System)","DISK_SPACE_USED","
DISK_SPACE_USED(tableNameString)
","
Returns the approximate amount of space used by the table specified."
"Functions (System)","FILE_READ"," "Functions (System)","FILE_READ","
FILE_READ(fileNameString [,encodingString]) FILE_READ(fileNameString [,encodingString])
"," ","
...@@ -1384,10 +1388,6 @@ Truncate a value to the required precision." ...@@ -1384,10 +1388,6 @@ Truncate a value to the required precision."
{ USER | CURRENT_USER } () { USER | CURRENT_USER } ()
"," ","
Returns the name of the current user of this session." Returns the name of the current user of this session."
"Functions (System)","VERSION","
VERSION()
","
Returns the H2 version as a String."
"System Tables","Information Schema"," "System Tables","Information Schema","
INFORMATION_SCHEMA INFORMATION_SCHEMA
"," ","
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论