20-keywords.md 2.1 KB
Newer Older
G
gccgdb1234 已提交
1
---
G
gccgdb1234 已提交
2
sidebar_label: 保留关键字
G
gccgdb1234 已提交
3
title: TDengine 保留关键字
4
description: TDengine 保留关键字的详细列表
G
gccgdb1234 已提交
5 6 7 8 9 10
---

## 保留关键字

目前 TDengine 有将近 200 个内部保留关键字,这些关键字无论大小写均不可以用作库名、表名、STable 名、数据列名及标签列名等。这些关键字列表如下:

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
### A

- ABORT
- ACCOUNT
- ACCOUNTS
- ADD
- AFTER
- ALL
- ALTER
- AND
- AS
- ASC
- ATTACH

### B

- BEFORE
- BEGIN
- BETWEEN
- BIGINT
- BINARY
- BITAND
- BITNOT
- BITOR
- BLOCKS
- BOOL
- BY

### C

- CACHE
- CACHELAST
- CASCADE
- CHANGE
- CLUSTER
- COLON
- COLUMN
- COMMA
- COMP
- COMPACT
- CONCAT
- CONFLICT
- CONNECTION
- CONNECTIONS
- CONNS
- COPY
- CREATE
- CTIME

### D

G
gccgdb1234 已提交
62 63 64 65 66
- DATABASE
- DATABASES
- DAYS
- DBS
- DEFERRED
67 68
- DELETE
- DELIMITERS
G
gccgdb1234 已提交
69 70 71 72 73 74 75 76 77 78
- DESC
- DESCRIBE
- DETACH
- DISTINCT
- DIVIDE
- DNODE
- DNODES
- DOT
- DOUBLE
- DROP
79 80 81

### E

G
gccgdb1234 已提交
82 83 84 85
- END
- EQ
- EXISTS
- EXPLAIN
86 87 88

### F

G
gccgdb1234 已提交
89 90 91 92 93 94 95
- FAIL
- FILE
- FILL
- FLOAT
- FOR
- FROM
- FSYNC
96 97 98

### G

G
gccgdb1234 已提交
99 100
- GE
- GLOB
101
- GRANTS
G
gccgdb1234 已提交
102 103
- GROUP
- GT
104 105 106

### H

G
gccgdb1234 已提交
107
- HAVING
108 109 110 111 112

### I

- ID
- IF
G
gccgdb1234 已提交
113
- IGNORE
114
- IMMEDIA
G
gccgdb1234 已提交
115 116
- IMPORT
- IN
117
- INITIAL
G
gccgdb1234 已提交
118
- INSERT
119
- INSTEAD
G
gccgdb1234 已提交
120
- INT
121 122
- INTEGER
- INTERVA
G
gccgdb1234 已提交
123 124 125
- INTO
- IS
- ISNULL
126 127 128 129 130 131 132 133

### J

- JOIN

### K

- KEEP
G
gccgdb1234 已提交
134
- KEY
135 136 137 138
- KILL

### L

G
gccgdb1234 已提交
139 140 141
- LE
- LIKE
- LIMIT
142
- LINEAR
G
gccgdb1234 已提交
143 144
- LOCAL
- LP
145
- LSHIFT
G
gccgdb1234 已提交
146
- LT
147 148 149

### M

G
gccgdb1234 已提交
150 151 152 153 154 155 156
- MATCH
- MAXROWS
- MINROWS
- MINUS
- MNODES
- MODIFY
- MODULES
157 158 159

### N

G
gccgdb1234 已提交
160 161 162
- NE
- NONE
- NOT
163
- NOTNULL
G
gccgdb1234 已提交
164
- NOW
165 166 167 168
- NULL

### O

G
gccgdb1234 已提交
169
- OF
170
- OFFSET
G
gccgdb1234 已提交
171 172
- OR
- ORDER
173 174 175 176

### P

- PARTITION
G
gccgdb1234 已提交
177 178 179
- PASS
- PLUS
- PPS
180
- PRECISION
G
gccgdb1234 已提交
181
- PREV
182 183 184 185
- PRIVILEGE

### Q

G
gccgdb1234 已提交
186
- QTIME
187
- QUERIE
G
gccgdb1234 已提交
188
- QUERY
189 190 191 192
- QUORUM

### R

G
gccgdb1234 已提交
193 194
- RAISE
- REM
195 196
- REPLACE
- REPLICA
G
gccgdb1234 已提交
197
- RESET
198
- RESTRIC
G
gccgdb1234 已提交
199 200
- ROW
- RP
201 202 203 204
- RSHIFT

### S

G
gccgdb1234 已提交
205 206 207
- SCORES
- SELECT
- SEMI
208
- SESSION
G
gccgdb1234 已提交
209 210 211
- SET
- SHOW
- SLASH
212
- SLIDING
G
gccgdb1234 已提交
213
- SLIMIT
214 215
- SMALLIN
- SOFFSET
G
gccgdb1234 已提交
216
- STable
217
- STableS
G
gccgdb1234 已提交
218 219
- STAR
- STATE
220 221
- STATEMEN
- STATE_WI
G
gccgdb1234 已提交
222 223 224 225 226
- STORAGE
- STREAM
- STREAMS
- STRING
- SYNCDB
227 228 229

### T

G
gccgdb1234 已提交
230 231 232 233 234 235 236 237 238 239 240 241
- TABLE
- TABLES
- TAG
- TAGS
- TBNAME
- TIMES
- TIMESTAMP
- TINYINT
- TOPIC
- TOPICS
- TRIGGER
- TSERIES
242 243 244

### U

G
gccgdb1234 已提交
245 246 247 248 249 250 251 252 253
- UMINUS
- UNION
- UNSIGNED
- UPDATE
- UPLUS
- USE
- USER
- USERS
- USING
254 255 256

### V

G
gccgdb1234 已提交
257 258
- VALUES
- VARIABLE
259
- VARIABLES
G
gccgdb1234 已提交
260 261 262
- VGROUPS
- VIEW
- VNODES
263 264 265 266 267 268

### W

- WAL
- WHERE

G
gccgdb1234 已提交
269 270 271 272 273 274 275 276 277
### \_

- \_C0
- \_QSTART
- \_QSTOP
- \_QDURATION
- \_WSTART
- \_WSTOP
- \_WDURATION