提交 3eccaee1 编写于 作者: E Elias Soong

[TD-4965] <docs>: update latest keywords list.

上级 bcbfd1a3
...@@ -466,42 +466,43 @@ TDengine的所有可执行文件默认存放在 _/usr/local/taos/bin_ 目录下 ...@@ -466,42 +466,43 @@ TDengine的所有可执行文件默认存放在 _/usr/local/taos/bin_ 目录下
目前 TDengine 有将近 200 个内部保留关键字,这些关键字无论大小写均不可以用作库名、表名、STable 名、数据列名及标签列名等。这些关键字列表如下: 目前 TDengine 有将近 200 个内部保留关键字,这些关键字无论大小写均不可以用作库名、表名、STable 名、数据列名及标签列名等。这些关键字列表如下:
| 关键字列表 | | | | | | 关键字列表 | | | | |
| ---------- | ----------- | ------------ | ---------- | --------- | | ------------ | ------------ | ------------ | ------------ | ------------ |
| ABLOCKS | CONNECTIONS | HAVING | MODULES | SMALLINT | | ABORT | CREATE | IGNORE | NULL | STAR |
| ABORT | COPY | ID | NCHAR | SPREAD | | ACCOUNT | CTIME | IMMEDIATE | OF | STATE |
| ACCOUNT | COUNT | IF | NE | STABLE | | ACCOUNTS | DATABASE | IMPORT | OFFSET | STATEMENT |
| ACCOUNTS | CREATE | IGNORE | NONE | STABLES | | ADD | DATABASES | IN | OR | STATE_WINDOW |
| ADD | CTIME | IMMEDIATE | NOT | STAR | | AFTER | DAYS | INITIALLY | ORDER | STORAGE |
| AFTER | DATABASE | IMPORT | NOTNULL | STATEMENT | | ALL | DBS | INSERT | PARTITIONS | STREAM |
| ALL | DATABASES | IN | NOW | STDDEV | | ALTER | DEFERRED | INSTEAD | PASS | STREAMS |
| ALTER | DAYS | INITIALLY | OF | STREAM | | AND | DELIMITERS | INT | PLUS | STRING |
| AND | DEFERRED | INSERT | OFFSET | STREAMS | | AS | DESC | INTEGER | PPS | SYNCDB |
| AS | DELIMITERS | INSTEAD | OR | STRING | | ASC | DESCRIBE | INTERVAL | PRECISION | TABLE |
| ASC | DESC | INTEGER | ORDER | SUM | | ATTACH | DETACH | INTO | PREV | TABLES |
| ATTACH | DESCRIBE | INTERVAL | PASS | TABLE | | BEFORE | DISTINCT | IS | PRIVILEGE | TAG |
| AVG | DETACH | INTO | PERCENTILE | TABLES | | BEGIN | DIVIDE | ISNULL | QTIME | TAGS |
| BEFORE | DIFF | IP | PLUS | TAG | | BETWEEN | DNODE | JOIN | QUERIES | TBNAME |
| BEGIN | DISTINCT | IS | PRAGMA | TAGS | | BIGINT | DNODES | KEEP | QUERY | TIMES |
| BETWEEN | DIVIDE | ISNULL | PREV | TBLOCKS | | BINARY | DOT | KEY | QUORUM | TIMESTAMP |
| BIGINT | DNODE | JOIN | PRIVILEGE | TBNAME | | BITAND | DOUBLE | KILL | RAISE | TINYINT |
| BINARY | DNODES | KEEP | QUERIES | TIMES | | BITNOT | DROP | LE | REM | TOPIC |
| BITAND | DOT | KEY | QUERY | TIMESTAMP | | BITOR | EACH | LIKE | REPLACE | TOPICS |
| BITNOT | DOUBLE | KILL | RAISE | TINYINT | | BLOCKS | END | LIMIT | REPLICA | TRIGGER |
| BITOR | DROP | LAST | REM | TOP | | BOOL | EQ | LINEAR | RESET | TSERIES |
| BOOL | EACH | LE | REPLACE | TOPIC | | BY | EXISTS | LOCAL | RESTRICT | UMINUS |
| BOTTOM | END | LEASTSQUARES | REPLICA | TRIGGER | | CACHE | EXPLAIN | LP | ROW | UNION |
| BY | EQ | LIKE | RESET | UMINUS | | CACHELAST | FAIL | LSHIFT | RP | UNSIGNED |
| CACHE | EXISTS | LIMIT | RESTRICT | UNION | | CASCADE | FILE | LT | RSHIFT | UPDATE |
| CASCADE | EXPLAIN | LINEAR | ROW | UPLUS | | CHANGE | FILL | MATCH | SCORES | UPLUS |
| CHANGE | FAIL | LOCAL | ROWS | USE | | CLUSTER | FLOAT | MAXROWS | SELECT | USE |
| CLOG | FILL | LP | RP | USER | | COLON | FOR | MINROWS | SEMI | USER |
| CLUSTER | FIRST | LSHIFT | RSHIFT | USERS | | COLUMN | FROM | MINUS | SESSION | USERS |
| COLON | FLOAT | LT | SCORES | USING | | COMMA | FSYNC | MNODES | SET | USING |
| COLUMN | FOR | MATCH | SELECT | VALUES | | COMP | GE | MODIFY | SHOW | VALUES |
| COMMA | FROM | MAX | SEMI | VARIABLE | | COMPACT | GLOB | MODULES | SLASH | VARIABLE |
| COMP | GE | METRIC | SET | VGROUPS | | CONCAT | GRANTS | NCHAR | SLIDING | VARIABLES |
| CONCAT | GLOB | METRICS | SHOW | VIEW | | CONFLICT | GROUP | NE | SLIMIT | VGROUPS |
| CONFIGS | GRANTS | MIN | SLASH | WAVG | | CONNECTION | GT | NONE | SMALLINT | VIEW |
| CONFLICT | GROUP | MINUS | SLIDING | WHERE | | CONNECTIONS | HAVING | NOT | SOFFSET | VNODES |
| CONNECTION | GT | MNODES | SLIMIT | | | CONNS | ID | NOTNULL | STABLE | WAL |
| COPY | IF | NOW | STABLES | WHERE |
...@@ -89,13 +89,13 @@ TDengine 缺省的时间戳是毫秒精度,但通过在 CREATE DATABASE 时传 ...@@ -89,13 +89,13 @@ TDengine 缺省的时间戳是毫秒精度,但通过在 CREATE DATABASE 时传
```mysql ```mysql
USE db_name; USE db_name;
``` ```
使用/切换数据库 使用/切换数据库(在 RESTful 连接方式下无效)。
- **删除数据库** - **删除数据库**
```mysql ```mysql
DROP DATABASE [IF EXISTS] db_name; DROP DATABASE [IF EXISTS] db_name;
``` ```
删除数据库。所包含的全部数据表将被删除,谨慎使用 删除数据库。指定 Database 所包含的全部数据表将被删除,谨慎使用!
- **修改数据库参数** - **修改数据库参数**
```mysql ```mysql
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册