There are about 200 keywords reserved by TDengine, they can't be used as the name of database, STable or table with either upper case, lower case or mixed case. The following list shows all reserved keywords:
There are more than 200 keywords reserved by TDengine, they can't be used as the name of database, table, STable, subtable, column or tag with either upper case, lower case or mixed case. If you need to use these keywords, use the symbol `` ` `` to enclose the keywords, e.g. \`ADD\`.
The following list shows all reserved keywords:
### A
### A
...
@@ -14,15 +16,20 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -14,15 +16,20 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- ACCOUNTS
- ACCOUNTS
- ADD
- ADD
- AFTER
- AFTER
- AGGREGATE
- ALL
- ALL
- ALTER
- ALTER
- ANALYZE
- AND
- AND
- APPS
- AS
- AS
- ASC
- ASC
- AT_ONCE
- ATTACH
- ATTACH
### B
### B
- BALANCE
- BEFORE
- BEFORE
- BEGIN
- BEGIN
- BETWEEN
- BETWEEN
...
@@ -32,19 +39,27 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -32,19 +39,27 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- BITNOT
- BITNOT
- BITOR
- BITOR
- BLOCKS
- BLOCKS
- BNODE
- BNODES
- BOOL
- BOOL
- BUFFER
- BUFSIZE
- BY
- BY
### C
### C
- CACHE
- CACHE
- CACHELAST
- CACHEMODEL
- CACHESIZE
- CASCADE
- CASCADE
- CAST
- CHANGE
- CHANGE
- CLIENT_VERSION
- CLUSTER
- CLUSTER
- COLON
- COLON
- COLUMN
- COLUMN
- COMMA
- COMMA
- COMMENT
- COMP
- COMP
- COMPACT
- COMPACT
- CONCAT
- CONCAT
...
@@ -52,15 +67,18 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -52,15 +67,18 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- CONNECTION
- CONNECTION
- CONNECTIONS
- CONNECTIONS
- CONNS
- CONNS
- CONSUMER
- CONSUMERS
- CONTAINS
- COPY
- COPY
- COUNT
- CREATE
- CREATE
- CTIME
- CURRENT_USER
### D
### D
- DATABASE
- DATABASE
- DATABASES
- DATABASES
- DAYS
- DBS
- DBS
- DEFERRED
- DEFERRED
- DELETE
- DELETE
...
@@ -69,18 +87,23 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -69,18 +87,23 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- DESCRIBE
- DESCRIBE
- DETACH
- DETACH
- DISTINCT
- DISTINCT
- DISTRIBUTED
- DIVIDE
- DIVIDE
- DNODE
- DNODE
- DNODES
- DNODES
- DOT
- DOT
- DOUBLE
- DOUBLE
- DROP
- DROP
- DURATION
### E
### E
- EACH
- ENABLE
- END
- END
- EQ
- EVERY
- EXISTS
- EXISTS
- EXPIRED
- EXPLAIN
- EXPLAIN
### F
### F
...
@@ -88,18 +111,20 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -88,18 +111,20 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- FAIL
- FAIL
- FILE
- FILE
- FILL
- FILL
- FIRST
- FLOAT
- FLOAT
- FLUSH
- FOR
- FOR
- FROM
- FROM
- FSYNC
- FUNCTION
- FUNCTIONS
### G
### G
- GE
- GLOB
- GLOB
- GRANT
- GRANTS
- GRANTS
- GROUP
- GROUP
- GT
### H
### H
...
@@ -110,15 +135,18 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -110,15 +135,18 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- ID
- ID
- IF
- IF
- IGNORE
- IGNORE
- IMMEDIA
- IMMEDIATE
- IMPORT
- IMPORT
- IN
- IN
- INITIAL
- INDEX
- INDEXES
- INITIALLY
- INNER
- INSERT
- INSERT
- INSTEAD
- INSTEAD
- INT
- INT
- INTEGER
- INTEGER
- INTERVA
- INTERVAL
- INTO
- INTO
- IS
- IS
- ISNULL
- ISNULL
...
@@ -126,6 +154,7 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -126,6 +154,7 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
### J
### J
- JOIN
- JOIN
- JSON
### K
### K
...
@@ -135,46 +164,57 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -135,46 +164,57 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
### L
### L
- LE
- LAST
- LAST_ROW
- LICENCES
- LIKE
- LIKE
- LIMIT
- LIMIT
- LINEAR
- LINEAR
- LOCAL
- LOCAL
- LP
- LSHIFT
- LT
### M
### M
- MATCH
- MATCH
- MAX_DELAY
- MAXROWS
- MAXROWS
- MERGE
- META
- MINROWS
- MINROWS
- MINUS
- MINUS
- MNODE
- MNODES
- MNODES
- MODIFY
- MODIFY
- MODULES
- MODULES
### N
### N
- NE
- NCHAR
- NEXT
- NMATCH
- NONE
- NONE
- NOT
- NOT
- NOTNULL
- NOTNULL
- NOW
- NOW
- NULL
- NULL
- NULLS
### O
### O
- OF
- OF
- OFFSET
- OFFSET
- ON
- OR
- OR
- ORDER
- ORDER
- OUTPUTTYPE
### P
### P
- PARTITION
- PAGES
- PAGESIZE
- PARTITIONS
- PASS
- PASS
- PLUS
- PLUS
- PORT
- PPS
- PPS
- PRECISION
- PRECISION
- PREV
- PREV
...
@@ -182,47 +222,63 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -182,47 +222,63 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
### Q
### Q
- QNODE
- QNODES
- QTIME
- QTIME
- QUERIE
- QUERIES
- QUERY
- QUERY
- QUORUM
### R
### R
- RAISE
- RAISE
- REM
- RANGE
- RATIO
- READ
- REDISTRIBUTE
- RENAME
- REPLACE
- REPLACE
- REPLICA
- REPLICA
- RESET
- RESET
- RESTRIC
- RESTRICT
- RETENTIONS
- REVOKE
- ROLLUP
- ROW
- ROW
- RP
- RSHIFT
### S
### S
- SCHEMALESS
- SCORES
- SCORES
- SELECT
- SELECT
- SEMI
- SEMI
- SERVER_STATUS
- SERVER_VERSION
- SESSION
- SESSION
- SET
- SET
- SHOW
- SHOW
- SLASH
- SINGLE_STABLE
- SLIDING
- SLIDING
- SLIMIT
- SLIMIT
- SMALLIN
- SMA
- SMALLINT
- SNODE
- SNODES
- SOFFSET
- SOFFSET
- STable
- SPLIT
- STableS
- STABLE
- STABLES
- STAR
- STAR
- STATE
- STATE
- STATEMEN
- STATE_WINDOW
- STATE_WI
- STATEMENT
- STORAGE
- STORAGE
- STREAM
- STREAM
- STREAMS
- STREAMS
- STRICT
- STRING
- STRING
- SUBSCRIPTIONS
- SYNCDB
- SYNCDB
- SYSINFO
### T
### T
...
@@ -233,20 +289,24 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -233,20 +289,24 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- TBNAME
- TBNAME
- TIMES
- TIMES
- TIMESTAMP
- TIMESTAMP
- TIMEZONE
- TINYINT
- TINYINT
- TO
- TODAY
- TOPIC
- TOPIC
- TOPICS
- TOPICS
- TRANSACTION
- TRANSACTIONS
- TRIGGER
- TRIGGER
- TRIM
- TSERIES
- TSERIES
- TTL
- TTL
### U
### U
- UMINUS
- UNION
- UNION
- UNSIGNED
- UNSIGNED
- UPDATE
- UPDATE
- UPLUS
- USE
- USE
- USER
- USER
- USERS
- USERS
...
@@ -256,8 +316,11 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -256,8 +316,11 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
- VALUE
- VALUE
- VALUES
- VALUES
- VARCHAR
- VARIABLE
- VARIABLE
- VARIABLES
- VARIABLES
- VERBOSE
- VGROUP
- VGROUPS
- VGROUPS
- VIEW
- VIEW
- VNODES
- VNODES
...
@@ -265,14 +328,25 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam
...
@@ -265,14 +328,25 @@ There are about 200 keywords reserved by TDengine, they can't be used as the nam