Mysql保留字列表

 

 

Mysql保留字列表。吠品整理。

尝试使用一个识别符,例如使用嵌入式MySQL 数据类型或函数名作为表名或列名,例如TIMESTAMP 或GROUP,会造成一个常见问题。允许你这样操作( 例如,ABS 可以作为一个列名) 。但是,默认情况下,在数调用中在函数名和后面的‘( ’字符之间不允许有空格。该要求使函数调用与列名引用不同。

 MySQL 5.6.23

accessible
add
all
alter
analyze
and
as
asc
asensitive
before
between
bigint
binary
blob
both
by
call
cascade
case
change
char
character
check
collate
column
condition
constraint
continue
convert
create
cross
current_date
current_time
current_timestamp
current_user
cursor
database
databases
day_hour
day_microsecond
day_minute
day_second
dec
decimal
declare
default
delayed
delete
desc
describe
deterministic
distinct
distinctrow
div
double
drop
dual
each
else
elseif
enclosed
escaped
exists
exit
explain
false
fetch
float
float4
float8
for
force
foreign
from
fulltext
get
grant
group
having
high_priority
hour_microsecond
hour_minute
hour_second
if
ignore
in
index
infile
inner
inout
insensitive
insert
int
int1
int2
int3
int4
int8
integer
interval
into
io_after_gtids
io_before_gtids
is
iterate
join
key
keys
kill
leading
leave
left
like
limit
linear
lines
load
localtime
localtimestamp
lock
long
longblob
longtext
loop
low_priority
master_bind
master_ssl_verify_server_cert
match
maxvalue
mediumblob
mediumint
mediumtext
middleint
minute_microsecond
minute_second
mod
modifies
natural
not
no_write_to_binlog
null
numeric
on
optimize
option
optionally
or
order
out
outer
outfile
partition
precision
primary
procedure
purge
range
read
reads
read_write
real
references
regexp
release
rename
repeat
replace
require
resignal
restrict
return
revoke
right
rlike
schema
schemas
second_microsecond
select
sensitive
separator
set
show
signal
smallint
spatial
specific
sql
sqlexception
sqlstate
sqlwarning
sql_big_result
sql_calc_found_rows
sql_small_result
ssl
starting
straight_join
table
terminated
then
tinyblob
tinyint
tinytext
to
trailing
trigger
true
undo
union
unique
unlock
unsigned
update
usage
use
using
utc_date
utc_time
utc_timestamp
values
varbinary
varchar
varcharacter
varying
when
where
while
with
write
xor
year_month
zerofill

 


  

 

NewReserved Words in MySQL 5.6  
GETIO_AFTER_GTIDSIO_BEFORE_GTIDS
MASTER_BINDONE_SHOTPARTITION
SQL_AFTER_GTIDSSQL_BEFORE_GTIDS 

 

MySQL permits some keywords to be used as unquoted identifiers because many people previously used them. Examples are those in the following list:

ACTION
BIT
DATE
ENUM
NO
TEXT
TIME
TIMESTAMP

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值