Using backticks around field names

前端 未结 11 1304
-上瘾入骨i
-上瘾入骨i 2020-11-22 02:05

After reading a couple of answers and comments on some SQL questions here, and also hearing that a friend of mine works at a place which has a policy which bans them, I\'m w

11条回答
  •  粉色の甜心
    2020-11-22 02:25

    Backticks aren't part of standard ANSI SQL. From the mysql manual:

    If the ANSI_QUOTES SQL mode is enabled, it is also allowable to quote identifiers within double quotes

    So if you use backticks and then decide to move away from MySQL, you have a problem (although you probably have a lot bigger problems as well)

提交回复
热议问题