MySQL中字段采用的关键字问题 #2

Open
opened 3 years ago by 18210856786 · 0 comments

表:plugin_demo_link
字段 key 是关键字,插入命令中,遇到 ‘KEY’ 将作为关键字解析,导致语句异常。
INSERT INTO plugin_demo_link (attr3, KEY, id) VALUES ('aaa', 'bbb', 'ccc')

表:plugin_demo_link 字段 key 是关键字,插入命令中,遇到 ‘KEY’ 将作为关键字解析,导致语句异常。 INSERT INTO plugin_demo_link (attr3, KEY, id) VALUES ('aaa', 'bbb', 'ccc')
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.