开发必备词典:Mysql保留关键字

本文列举了Mysql开发中需要注意的保留关键字。

你可以按ctrl+f使用浏览器搜索,或者点击右侧的首字母导航栏查看。

A

ACTIONADDALLALTERANALYZE
ANDASASCASENSITIVE

B

BEFOREBETWEENBIGINTBINARYBIT
BLOBBOTHBY

C

CALLCASCADECASECHANGECHAR
CHARACTERCOLLATECOLUMNCONDITIONCONNECTION
CONSTRAINTCONTINUECONVERTCREATECROSS
CURRENT_DATECURRENT_TIMECURRENT_TIMESTAMPCURRENT_USERCURSOR
CHECK

D

DATABASEDATABASESDATEDAY_HOURDAY_MICROSECOND
DAY_MINUTEDAY_SECONDDECDECIMALDECLARE
DEFAULTDELAYEDDELETEDESCDESCRIBE
DETERMINISTICDISTINCTDISTINCTROWDIVDOUBLE
DROPDUAL

E

EACHELSEELSEIFENCLOSEDENUM
ESCAPEDEXISTSEXITEXPLAIN

F

FALSEFETCHFLOATFORFORCE
FOREIGNFORMFULLTEXT

G

GOTOGRANT
GROUP

H

HAVINGHIGH_PRIORITYHOUR_MICROSECONDHOUR_MINUTE
HOUR_SECOND

I

IFIGNOREININDEXINFILE
INNERINOUTINSENSITIVEINSERTINT
INTEGERINTERVALINTOISITERATE

J

JOIN

K

KEYKYES
KILL

L

LEADINGLEAVELEFTLIKELIMIT
LINESLOADLOCALTIMELOCALTIMESTAMPLOCK
LONGLONGBLOBLONGTEXTLOOPLOW_PRIORITY

M

MATCHMEDIUMBLOBMEDIUMINTMEDIUMTEXTMIDDLEINT
MINUTE_MICROSECONDMINUTE_SECONDMODMODIFIES

N

NATURALNONO_WRITE_TO_BINLOGNOTNULL
NUMERIC

O

ONOPTIMIZEOPTIONOPTIONALLYOR
ORDEROUTOUTEROUTFILE

P

PRECISIONPRIMARY
PROCEDUREPURGE

R

READREADSREFERENCESREGEXPRELEASE
RENAMEREPEATREPLACEREQUIRERESTRICT
RETURNREVOKERIGHTRLIKEREAL

S

SCHEMASCHEMASSECOND_MICROSECONDSELECTSENSITIVE
SEPARATORSETSHOWSMALLINTSONAME
SPATIALSPECIFICSQLSQL_BIG_RESULTSQL_CALC_FOUND_ROWS
SQL_SMALL_RESULTSQLEXCEPTIONSQLSTATESQLWARNINGSSL
STARTINGSTRAIGHT_JOIN

T

TABLETERMINATEDTEXTTHENTIME
TIMESTAMPTINYBLOBTINYINTTINYTEXTTO
TRAILINGTRIGGERTRUE

U

UNDOUNIONUNIQUEUNLOCKUNSIGNED
UPDATEUSAGEUSEUSINGUTC_DATE
UTC_TIMEUTC_TIMESTAMP

V

VALUESVARBINARYVARCHAR
VARCHARACTERVARYING

W

WHENWHEREWHILE
WITHWRITE

X

XOR

Y

YEAR_MONTH

Z

ZEROFILL

星空幻颖,严颖

个人主页:segmentfault

    原文作者:星空幻颖
    原文地址: https://segmentfault.com/a/1190000008028674
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞