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

## 保留关键字

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

10 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
### 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 已提交
61 62 63 64 65
- DATABASE
- DATABASES
- DAYS
- DBS
- DEFERRED
66 67
- DELETE
- DELIMITERS
G
gccgdb1234 已提交
68 69 70 71 72 73 74 75 76 77
- DESC
- DESCRIBE
- DETACH
- DISTINCT
- DIVIDE
- DNODE
- DNODES
- DOT
- DOUBLE
- DROP
78 79 80

### E

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

### F

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

### G

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

### H

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

### I

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

### J

- JOIN

### K

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

### L

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

### M

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

### N

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

### O

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

### P

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

### Q

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

### R

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

### S

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

### T

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

### U

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

### V

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

### W

- WAL
- WHERE

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

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