How to escape back ticks

前端 未结 6 500
感动是毒
感动是毒 2020-11-28 12:00

MySQL requires tables that shadow reserved words to be back ticked. I have a table Role which is a reserved word, but I have already put my query in back ticks so I can writ

6条回答
  •  遥遥无期
    2020-11-28 12:19

    If your query is long, it might be worth putting in a text file and reading it in, that will keep your code more concise and organized, and also avoid the backtick quoting issue entirely.

提交回复
热议问题