Using backticks around field names

前端 未结 11 1587
-上瘾入骨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条回答
  •  闹比i
    闹比i (楼主)
    2020-11-22 02:28

    The only problem with backticks is that they are not ANSI-SQL compliant, e.g. they don't work in SQL Server.

    If there is a chance you would have to port your SQL to another database, use double quotes.

提交回复
热议问题