#1

Hi, are these `` important in MySQL queries? I know that the queries work with and without them. What are they for? I tried googling, but I couldn't find anything or I just didn't understand.
Reply
#2

They are used to explicitly tell the interpreter that the quoted value is an identifier, not a reserved word. In other words, if you have a table or column name that appears in this list (words marked with ®) then you should add those backticks. The alternate and better option, however, is to not use table or column names that are or could become reserved words.
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
They are used to explicitly tell the interpreter that the quoted value is an identifier, not a reserved word. In other words, if you have a table or column name that appears in this list (words marked with ®) then you should add those backticks. The alternate and better option, however, is to not use table or column names that are or could become reserved words.
OK, I got it, thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)